Which of the following is a legally correct way of declaring a variable that is a pointer to an integer?
A) int* ptr
B) pointer<int> ptr
C) int& ptr
D) int ptr*
Ans: A
Title: Which statement declares a variable that is a pointer to an integer?
Quiz, Objective, Multiple Choice Question (MCQ), Test Bank Solution and Short Answers.