Question discussion

Find the output of the following program.void main(){ int i=065, j=65; printf("%d %d", i, j);}

295392Medium 1 reply 939 views
-1
Find the output of the following program.void main(){ int i=065, j=65; printf("%d %d", i, j);}
  • A53 65
  • B65 65
  • C065 65
  • D053 65
  • ESyntax error
Correct answer: A

Discussion 1

0
CCommunity
53 65

As octal 65 ( 065 ) is equivalent of decimal value 53.