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

Discussion :: Object Oriented Programming Using C++

  1. Assume a program contains a void function named displayName, which requires no formal parameters. Which of the following is a correct function prototype for this function?

  2. A.
    displayName;
    B.
    displayName(void);
    C.
    void displayName;
    D.
    void displayName();
    E.
    void displayName(none);

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    No answer description available for this question.


Be The First To Comment