Home / CSE MCQs / C++ - MCQs :: Discussion

Discussion :: C++ - MCQs

  1. What is meaning of following declaration? int(*ptr[5])();
  2. A.
    ptr is pointer to function.
    B.
    ptr is array of pointer to function.
    C.
    ptr is pointer to such function which return type is array.
    D.
    ptr is pointer to array of function.

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    In this expression, ptr is array not pointer.


Be The First To Comment