Solution to Consider the following function definition: int func(int x, double y, char u, string name) { … - Sikademy
Author Image

Archangel Macsika

Consider the following function definition: int func(int x, double y, char u, string name) { //function body } Which of the following are correct function prototypes of the function func? a. int func(x, y, u, name); b. int func(int s, double k, char ch, string name); c. int func(int, double, char, string); d. func(int, double, char, string

The Answer to the Question
is below this banner.

Can't find a solution anywhere?

NEED A FAST ANSWER TO ANY QUESTION OR ASSIGNMENT?

Get the Answers Now!

You will get a detailed answer to your question or assignment in the shortest time possible.

Here's the Solution to this Question

Options [b] and [c] both are correct.



b. int func(int s, double k, char ch, string name);


c. int func(int, double, char, string);



A function can be created by mentioning argument types as well as with argument types along with argument names.

Related Answers

Was this answer helpful?

Join our Community to stay in the know

Get updates for similar and other helpful Answers

Question ID: mtid-3-stid-44-sqid-1095-qpid-91