Types(C++ Programming ) Questions and Answers
Explanation:-
Answer: Option C. -> integer, enum, voidOption a consists of all fundamental types, option b consists of user-definied types and option d consists
of derived types but option c is a mixture.
Explanation:-
Answer: Option B. -> extensibleExtensible is used to add new features to C++.
Explanation:-
Answer: Option A. -> doubleThe given value is with decimal points, so float or double can be used.
Explanation:-
Answer: Option B. -> f is a function taking an argument of type float and returning a integer.The argument that is passed to a function f is of float type and the function finally retruns a value
that id is of integer type.
Explanation:-
Answer: Option C. -> both a and bThey must be defined by the users before use unlike the other types which are readily available.
Explanation:-
Answer: Option B. -> booleanLogical values can be either true or false, so the boolean type is suited for it.
Explanation:-
Answer: Option A. -> alertBecause a is used to produce a beep sound.
Explanation:-
Answer: Option A. -> array typeArray type is not the basic type and it is constructed using the basic type.
Explanation:-
Answer: Option C. -> voidvoid will not return anything.
Explanation:-
Answer: Option D. -> based on the number of bits in the systemCompiler wants to make CPU as more efficient in accessing the next value.