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

Discussion :: C++ - MCQs

  1. What will happen when we use void in argument passing?
  2. A.
    It will not return value to its caller
    B.
    It will return value to its caller
    C.
    both a & b are correct
    D.
    none of the mentioned

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    As void is not having any return value, it will not return the value to the caller.


Be The First To Comment