Home » C Programming » Operators » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    void main()
    {
    int num1 = 5;
    int num2 = 10 % 3 * 12 / 4;
    printf("Value of num is %d", num2);
    }
    1. Value of num is 0
    2. Value of num is 1
    3. Value of num is 2
    4. Value of num is 3
    5. None of these
Correct Option: D

Value of num is



Your comments will be displayed only after manual approval.