Home » C Programming » Operators » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    void main()
    {
    int num = 12 + 13 - 14 + 18 - 15 % 14;
    printf("%d\n", num);
    }
    1. Compilation Error
    2. 28
    3. 12
    4. 13
    5. Runtime Error
Correct Option: B

28



Your comments will be displayed only after manual approval.