Examveda
Examveda

Comment on the following declaration.
int (*ptr)(); // i)
char *ptr[]; // ii)

A. Both i) and ii) and cannot exist due to same name

B. i) is legal, ii) is illegal

C. i) is illegal, ii) is legal

D. Both i) and ii) will work legal and flawlessly

Answer: Option D


This Question Belongs to C Program >> Pointer

Join The Discussion

Related Questions on Pointer