Question discussion

What will be the output?void main(){ int a=10, b=20; char x=1, y=0; if(a,b,x,y){ printf("EXAM"); } }

318947Medium 1 reply 1,732 views
26
What will be the output?void main(){ int a=10, b=20; char x=1, y=0; if(a,b,x,y){ printf("EXAM"); } }
  • AXAM is printed
  • Bexam is printed
  • CCompiler Error
  • DNothing is printed
Correct answer: D

Discussion 1

0
CCommunity
Nothing is printed