Which is the correct syntax to declare constant pointer?
A. int *const constPtr;
B. *int constant constPtr;
C. const int *constPtr;
D. A and C both
Answer:D
Which is the correct syntax to declare constant pointer?
A. int *const constPtr; B. *int constant constPtr; C. const int *constPtr; D. A and C both