Find the output: int a= 10, c, b; c = (a=99)? b = 11:20; printf("%d, %d", a, c);

Find the output:

int a= 10, c, b;
c = (a=99)? b = 11:20;
printf("%d, %d", a, c);
  1. a) 11, 99
  2. b) 99, 11
  3. c) 20, 11
  4. d) 99, 20

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

More from this paper