Home / CSE / Object Oriented Programming Using C++ :: Discussion

Discussion :: Object Oriented Programming Using C++

  1. Which of the following is false?

  2. A.
    A void function's header begins with the keyword void
    B.
    A value-returning function's header begins with a data type, which represents the type of data the function will return
    C.
    Assuming displayAge is the name of a void function, displayAge(); is a both logically and syntactically valid C++ statement
    D.
    Assuming calcNewPrice is the name of a value-returning function, calcNewPriceO; is a both logically and syntactically valid C++ statement
    E.
    Both void and value-returning functions can receive arguments.

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    No answer description available for this question.


Be The First To Comment