#include <stdio.h> int main() { char a = '\012'; printf("%d", a); return 0; }
a) Compiler error
b) 12
c) 10
d) Empty
#include <stdio.h> int main() { char a = '\012'; printf("%d", a); return 0; }
a) Compiler error
b) 12
c) 10
d) Empty
You must be logged in to post a comment.
c
Explanation: The value ‘\012’ means the character with value 12 in octal, which is decimal 10.