C Pointer - C programming (MCQ) questions for Q. 27512

Q.  In the following code what is 'P'?

typedef char *charp;
const charp P;

- Published on 26 Feb 17

a. P is a constant
b. P is a character constant
c. P is character type
d. None of the above

ANSWER: P is a constant

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)