C++ Type Checking Question: Download Questions PDF
What is the output of this program?
#include <stdio.h>
int main()
{
char a = '12';
printf("%d", a);
return 0;
}
a) Compiler error
b) 12
c) 10
d) Empty
![C++ Type Checking Interview Answer C++ Type Checking Interview Question](https://globalguideline.com/public/images/interview/1.png)
Answers:
Answer #1c) 10
Answer #2output is 50
but this ouput is not available in option.
but this ouput is not available in option.
Download C++ Type Checking Interview Questions And Answers
PDF