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

0 12



Your comments will be displayed only after manual approval.