Vidyalelo
Computer Science · Q284

Object Oriented Programming Using C++

Engineering and GATE · Computer Science · question 284

Q284

Passing a variable pointer as a constant _____

A.
protects the contents pointed to by the pointer from change
Answer
B.
eliminates the need to name the pointer in the function
C.
eliminates the need to give the pointer a type in the function
D.
causes a copy of the pointer to be produced in the function

Answer: Option A

Solution

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