Vidyalelo
Computer Science · Q239

Object Oriented Programming Using C++

Engineering and GATE · Computer Science · question 239

Q239

Which of the following is false?

A.
A pointer variable contains the address of a variable in memory
B.
You should both declare and initialize a pointer before you use it
C.
Pointers are typically initialized to the empty string ("")
Answer
D.
A pointer's datatype must match the datatype of the variable to which it points
E.
A pointer variable is typically referred to simply as a pointer

Answer: Option C

Solution

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