adplus-dvertising
frame-decoration

Question

What is the output of this program?
void main()
{
      int c = - -14; 
      printf("%d", c); 
}

a.

13

b.

14

c.

-14

d.

Compilation Error

Posted under C Programming

Answer: (b).14

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?