C++ Type Checking Question:
Download Questions PDF

What will be the output of this program?

#include <iostream>
using namespace std;
int main()
{
char c = 74;
cout << c;
return 0;
}
a) A
b) N
c) J
d) I

Answer:

c) J

Download C++ Type Checking Interview Questions And Answers PDF

Previous QuestionNext Question
Which of the following belongs to the set of character types?
a) char
b) wchar_t
c) only a
d) both a and b
How do we represent a wide character of the form wchar_t?
a) L'a'
b) l'a'
c) L[a]
d) la