Vidyalelo
Computer Science · Q368

Object Oriented Programming Using C++

Engineering and GATE · Computer Science · question 368

Q368

Which of the following statements creates and initializes a pointer named salesPtr?

A.
salesPtr = NULL;
B.
*salesPtr = "";
C.
float &salesPtr = NULL;
D.
float *salesPtr = "";
E.
float *salesPtr = NULL;
Answer

Answer: Option E

Solution

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