Which of the following is not a pointer declaration?
Answer: D
Correct answer: char a;
An array name decays to a pointer to its first element in nearly every context, so the first two declarations yield something usable as a pointer, and char *str is one outright. A plain char holds a single character and has no pointer nature at all.
Please log in or register to report this question.