What will be the output of the following C code? int main(){ int x=20, y=10, z=5; printf("%d", x>y>z); return 0; }

What will be the output of the following C code?

int main(){
int x=20, y=10, z=5;
printf("%d", x>y>z);
return 0;
}
  1. a) 20
  2. b) 10
  3. c) 0
  4. d) 1

From the Combined Bank Officer (IT) October 2024 – Preliminary (BIBM) exam, question 88 of 95.

More from this paper