Q31
Which of the following is the correct syntax for declaring a pointer to an integer in C++?
A.
ptr int;
B.
int ptr;
C.
pointer int;
D.
int* ptr;
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board