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

Discussion :: C++ - MCQs

  1. What are mandatory parts in function declaration?
  2. A.
    return type,function name
    B.
    return type,function name,parameters
    C.
    both a and b
    D.
    none of the mentioned

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    In a function, return type and function name are mandatory all else are just used as a choice.


Be The First To Comment