What will be the output of following code? int x=5, y=5, z=5; printf("%d", ++z+y-1-y+z+x++);

What will be the output of following code?

int x=5, y=5, z=5;
printf("%d", ++z+y-1-y+z+x++);
  1. a) 15
  2. b) 17
  3. c) 16
  4. d) 19

From the Sonali Bank Assistant Database Administrator 2020 – Preliminary exam, question 3 of 68.

More from this paper