MCQ Single Best Answer Not Set

QFind the output of the following program

#include<stdio.h>
void main()
{
   int y=10;
   if(y++>9 && y++!=10 && y++>11)
      printf("%d", y);
   else
      printf("%d", y);
}

ID: #1195 Operators and Enums in C Language 614 views
Question Info
#1195Q ID
Not SetDifficulty
Operators and Enums in C LanguageTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A 11
  • B 12
  • C 13
  • D 14
Correct Answer: Option C

Explanation

13

Share This Question

Challenge a friend or share with your study group.