Live quiz

C Programming - Part 27

Question 1 of 25 Hints left: 3
Q1

Identify the correct output of the following code: void main() { int w=10, x=5, y=3, z=3; if( (w < x ) && (y=z++) ) printf("%d %d %d %d", w, x, y, z); else printf("%d %d %d %d", w, x, y, z); }

  • A
  • B
  • C
  • D