Examveda
Examveda

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

A. 53 65

B. 65 65

C. 065 65

D. 053 65

E. Syntax error

Answer: Option A

Solution(By Examveda Team)

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


This Question Belongs to C Program >> C Fundamentals

Join The Discussion

Comments ( 4 )

  1. Programming School
    Programming School :
    12 months ago

    kaise aaya worng hei?
    right b hei

  2. Aniket Kumavat
    Aniket Kumavat :
    5 years ago

    How it get

  3. Suraj Singh
    Suraj Singh :
    7 years ago

    is this question correct?
    is it 'o' or '0'?

  4. Shyama Sundar
    Shyama Sundar :
    7 years ago

    option c

Related Questions on C Fundamentals