Find the output of the following program.
void main()
{
int i=065, j=65;
printf("%d %d", i, j);
}
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.
Join The Discussion
Comments ( 4 )
Related Questions on C Fundamentals
What is the primary purpose of a function prototype in C?
A. Declare a variable
B. Declare a function
C. Define a function
D. Assign a value
What is the correct syntax for declaring a variable in C?
A. int variable_name;
B. variable_name = 5;
C. variable_name int;
D. int = variable_name;
kaise aaya worng hei?
right b hei
How it get
is this question correct?
is it 'o' or '0'?
option c