Variables And Data Types In C Plus Plus - Study Mode
[#61] What is the result of the following expression in C++: 5 / 2?
Correct Answer
(D) 2
[#62] Which operator is used to find the size of a data type in C++?
Correct Answer
(C) sizeof
[#63] What is the correct way to declare a constant in C++?
Correct Answer
(B) const
[#64] What happens when a null pointer is converted into bool?
Correct Answer
(C) bool value evaluates to false
[#65] Pick the odd one out.
Correct Answer
(A) array type
(G) integer, enum, void