Discussion :: Object Oriented Programming Using C++
-
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?
A.
displayName;
|
B.
displayName(void);
|
C.
void displayName;
|
D.
void displayName();
|
E.
void displayName(none);
|
Answer : Option D
Explanation :
No answer description available for this question.
Be The First To Comment