A

Admin • 833K Points
Coach

Q. Output is:

Code:
#include <stdio.h>

void main() {
int x = 1, y = 0, z = 5;
int a = x && y && z++;
printf(“%d”, a);
}
  • (A) 1
  • (B) 0
  • (C) 5
  • (D) 6
  • Correct Answer - Option(B)
  • Views: 24
  • Filed under category C Programming
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.