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

Discussion :: C++ - MCQs

  1. What is meaning of following declaration?

    int(*p[5])();

  2. A.
    p is pointer to function.
    B.
    p is array of pointer to function
    C.
    p is pointer to such function which return type is array.
    D.
    p is pointer to array of function. View Answer

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    In the above declaration the variable p is array not pointer.


Be The First To Comment