Single Choice Not Set

QFind the output of the following program.

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

ID: #1197 Operators and Enums in C Language 635 views
Question Info
#1197Q 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

Explanation

Option B

Share This Question

Challenge a friend or share with your study group.