Home / C Programming / Complicated Declarations :: Discussion

Discussion :: Complicated Declarations

  1. Is the following declaration correct?
    void(*f)(int, void(*)());

  2. A.
    Yes
    B.
    No

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    f is a pointer to a function which returns nothing and receives as its parameter an integer and a pointer to a function which receives nothing and returns nothing.


Be The First To Comment