What is the output of this C code?
#include int main() { int var = 010; printf("%d", var); }
Answer: B
010 is octal representation of 8. Output: $ cc pgm4.c $ a.out 8