+ 6
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
3 ответов
+ 2
A is the Right Answer
+ 9
A 😃
+ 6
Option : A
Reason:
65 - is an integer of base 10, i.e, a decimal number.
065 - is an octal number and its decimal equivalent is 53
065=6∗8^1+5∗8^0