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

Discussion :: C++ - MCQs

  1. What are the advantages of passing arguments by reference?
  2. A.
    Changes to parameter values within the function also affect the original arguments.
    B.
    There is need to copy parameter values (i.e. less memory used)
    C.
    There is no need to call constructors for parameters (i.e. faster)
    D.
    All of the mentioned

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    All of the mentioned


Be The First To Comment