Google News
logo
CPP - Quiz(MCQ)
The size_t integer type in C++ is?
A)
Unsigned integer of at least 64 bits
B)
Signed integer of at least 64 bits
C)
Unsigned integer of at least 16 bits
D)
Signed integer of at least 16 bits

Correct Answer :   Unsigned integer of at least 16 bits


Explanation : The size_t type is used to represent the size of an object. Hence, it’s always unsigned. According to the language specification, it is at least 16 bits.

Advertisement