Which of the following is a correct function prototype for a void function that requires no formal

Question:

Which of the following is a correct function prototype for a void function that requires no formal parameters? The function’s name is displayName. 

a. displayName(); 

b. void displayName; 

c. void displayName(); 

d. void displayName(none);

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: