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

Discussion :: C++ - MCQs

  1. Which parameter is legal for non-type template?
  2. A.
    pointer to member
    B.
    object
    C.
    class
    D.
    none of the mentioned

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    The following are legal for non-type template parameters:integral or enumeration type, Pointer to object or pointer to function, Reference to object or reference to function, Pointer to member.


Be The First To Comment