Vidyalelo
C++ Programming · Q13

Introduction to C++

Programming · C++ Programming · question 13

Q13

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

A.
int ptr;
B.
pointer int;
C.
int* ptr;
Answer
D.
ptr int;

Answer: Option C

Solution

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