adplus-dvertising
frame-decoration

Question

What is the output of this program?
void main()
{ 
      int i=5; 
      i = !i>10; 
      printf("%d", i); 
}

a.

5

b.

10

c.

0

d.

None of the above

Posted under C Programming

Answer: (c).0

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of this program?