147k views
0 votes
write the function declaration or signature for a function called my function that returns an integer value and has three parameters, the first parameter is an integer that is passed by reference, the second parameter is a string, and the third is an integer with default value of 10. you simply need to write the declaration, you do not need to write a function.

1 Answer

5 votes

Answer:

int myFunction(int &firstParameter, string secondParameter, int thirdParameter = 10);

User Andrii Chertok
by
4.5k points