1.

What is the size of wchar_t in C++?(a) 2(b) 4(c) 2 or 4(d) Based on the number of bits in the systemThis question was posed to me in an international level competition.This intriguing question comes from Types in section Types, Pointers, Arrays & Structures in C++ of C++

Answer» CORRECT answer is (d) Based on the number of bits in the system

The EXPLANATION is: Compiler wants to MAKE CPU as more efficient in accessing the NEXT value.


Discussion

No Comment Found

Related InterviewSolutions