Vidyalelo
C++ Programming · Q68

Variables and Data Types in C++

Programming · C++ Programming · question 68

Q68

What will be the output of the following C++ code? #include int main() char a = '\012'; printf("%d", a); return 0;

A.
Compiler error
B.
12
C.
10
Answer
D.
Empty

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board