Comment on the following declaration. int (*ptr)(); // i) char *ptr[]; // ii)
Posted: Wed Jul 13, 2022 7:54 pm
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
b) i) is legal, ii) is illegal
c) i) is illegal, ii) is legal
d) Both i) and ii) will work legal and flawlessly