Vidyalelo
Computer Science · Q471

Object Oriented Programming Using C++

Engineering and GATE · Computer Science · question 471

Q471

Which of the following statements creates a named constant called driverAge whose value is 16?

A.
const driverAge = 16;
B.
const short driverAge = 16;
Answer
C.
driverAge =16;
D.
driverAge const =16;
E.
namedconst driverAge =16;

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board