Choose the incorrect option.
A. void is used when the function does not return a value
B. void is also used when the value of a pointer is null
C. void is used as the base type for pointers to objects of unknown type
D. void is a special fundamental type
Answer: Option B
Related Questions on Variables and Data Types in C plus plus
Which of the following is a valid variable name in C++?
A. myVariable
B. 123variable
C. variable&
D. float
What is the data type of the variable 'x' in the following declaration: double x = 3.14;?
A. int
B. double
C. float
D. char

Join The Discussion