Which of the following correctly calls a void function named displayTotal, passing it an int variable named

Question:

Which of the following correctly calls a void function named displayTotal, passing it an int variable named total? 

a. cout << displayTotal(int total); 

b. cout << displayTotal(total); 

c. displayTotal(int total); 

d. displayTotal(total);

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

Step by Step Answer:

Question Posted: