1.

Which of the following is not a pointer declaration?(a) char a[10];(b) char a[] = {‘1’, ‘2’, ‘3’, ‘4’};(c) char *str;(d) char a;I had been asked this question in my homework.My doubt is from Declarations topic in portion Data Types, Operators and Expressions in C of C

Answer» CORRECT CHOICE is (d) CHAR a;

BEST explanation: Array declarations are POINTER declarations.


Discussion

No Comment Found

Related InterviewSolutions