Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by whitelisting our website.

Which is the correct syntax to declare constant pointer?

Question:

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. a and c both

Note: The above multiple-choice question is for all general and Competitive Exams in India