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

Discussion :: C++ - MCQs

  1. Which are done by compiler for templates?
  2. A.
    type-safe
    B.
    portability
    C.
    code elimination
    D.
    all of the mentioned

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    The compiler can determine at compile time whether the type associated with a template definition can perform all of the functions required by that template definition.


Be The First To Comment