Vidyalelo
C++ Programming · Q21

Pointers and References in C++

Programming · C++ Programming · question 21

Q21

What is the correct way to pass a pointer to a function in C++?

A.
By reference
Answer
B.
By value
C.
By dereferencing the pointer
D.
By declaring the pointer globally

Answer: Option A

Solution

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