Prototype

Consider the following function prototype: (14)

void funcDefaultParam(int num, char ch = ‘‘, double y = 2.5, string z = ““);

Which of the following function calls is correct?

a. funcDefaultParam();

b. funcDefaultParam(10);

c. funcDefaultParam(10, 3.8, ‘u’, “*”);

d. funcDefaultParam(20, ‘a’, 2.8);

e. funcDefaultParam(28, ‘**’);

WhatsApp
Hello! Need help with your assignments?

For faster services, inquiry about  new assignments submission or  follow ups on your assignments please text us/call us on +1 (251) 265-5102

🛡️ Worried About Plagiarism? Run a Free Turnitin Check Today!
Get peace of mind with a 100% AI-Free Report and expert editing assistance.

X