Home » C Programming » Operators » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    void main()
    {
    int n = 6 * 4 % 7 - 12 + 4;
    printf("%d", n);
    }
    1. -12
    2. Compilation Error
    3. -5
    4. Runtime Error
    5. None of these
Correct Option: C

-5



Your comments will be displayed only after manual approval.