1.

How do we represent a wide character of the form wchar_t?(a) L’a’(b) l’a’(c) L[a](d) laI have been asked this question in class test.This interesting question is from Character Types topic in section Types, Pointers, Arrays & Structures in C++ of C++

Answer»

The CORRECT answer is (a) L’a’

EXPLANATION: A wide character is always indicated by immediately PRECEDING the character LITERAL by an L.



Discussion

No Comment Found

Related InterviewSolutions