Home » C Programming » Pointers » Question
  1. Comment on the following declaration.
    int (*p)(); // i
    char *p[]; // ii
    1. Both i) and ii) will work legal and flawlessly
    2. i) is illegal, ii) is legal
    3. i) is legal, ii) is illegal
    4. Both i) and ii) and cannot exist due to same name
    5. None of these
Correct Option: A

Both i) and ii) will work legal and flawlessly



Your comments will be displayed only after manual approval.