MCQ Practice Single Best Answer Topic: Operators and Enums in C Language

Q What is the output of this C code?

#include<stdio.h>
void main()
{ 
      int i=10; 
      i = !i>14; 
      printf("i=%d", i); 
}

Question ID
#1161
Subchapter
Operators and Enums in C Language
Action
Choose one option below

Choose Your Answer

Click an option to check whether your answer is correct.

  • A 10
  • B 11
  • D 1
Correct Answer: C

Explanation

Option C

Share This Question

Share this MCQ with your friends or study group.