adplus-dvertising
frame-decoration

Question

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 system

Answer: (d).based on the number of bits in the system

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the size of wchar_t in C++?

Similar Questions

Discover Related MCQs

Q. Pick the odd one out

Q. Which datatype is used to represent the absence of parameters?

Q. What does a escape code represent?

Q. Which type is best suited to represent the logical values?

Q. Identify the user-defined types from the following?

Q. Which of the following statements are true ?

Q. The value 132.54 can represented using which data type?

Q. When a language has the capability to produce new data type mean, it can be called as

Q. Pick the odd one out.

Q. Is bool a fundamental datatype in C++?

Q. Find the odd one out:

Q. What is the value of the bool?
bool is_int(789.54)

Q. What happens when a null pointer is converted into bool?

Q. Which of the following statements are false ?

Q. For what values of the expression is an if-statement block not executed?

Q. Which of the two operators ++ and — work for the bool datatype in C++?

Q. Evaluate the following
(false && true) || false || true

Q. How many characters are specified in the ASCII scheme?

Q. Select the right option.

Given the variables p, q are of char type and r, s, t are of int type
1. t = (r * s) / (r + s);
2. t = (p * q) / (r + s);

Q. Which of the following belongs to the set of character types?