Explanation: Every character constant has an integer value. Also char belongs to the integral type hence arithmetic and logical operations can be performed on them. 3. Which of the following belongs to the set of character types?
A. char
B. wchar_t
C. only a
D. both a and b
Answer:A
Explanation: Every character constant has an integer value. Also char belongs to the integral type hence arithmetic and logical operations can be performed on them. 3. Which of the following belongs to the set of character types?
A. char B. wchar_t C. only a D. both a and b
Explanation: wchar_t and char is used to represent wide character and character. 4. What will be the output of this program?