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
Submitted by: Administratorc) 10
Submitted by:
Submitted by:
Read Online C++ Type Checking Job Interview Questions And Answers
Top C++ Type Checking Questions
☺ | Explain what are associate containers? |
☺ | What is dynamic type checking? |
☺ | Which datatype is used to represent the absence of parameters? |
☺ | Do you know what are function prototypes? |
☺ | What is static type checking? |
Top C Plus Plus Language Categories
☺ | C++ Pointers & Functions Interview Questions. |
☺ | C++ Operator Overloading Interview Questions. |
☺ | C++ Exception Handling Interview Questions. |
☺ | C++ Virtual Functions Interview Questions. |
☺ | C++ Template Interview Questions. |