What will be the output of the following C code?
#include <stdio.h>
int main()
{
int var = 010;
printf("%d", var);
}
#include <stdio.h>
int main()
{
int var = 010;
printf("%d", var);
}
A. 2
B. 8
C. 9
D. 10
Answer: Option B
Join The Discussion