What would be wrong with not writing a return statement in a value-returning function? Can you have a return statement in a void function? Does the return statement in the following function cause syntax errors?
void p(double x, double y){ cout << x << " " << y << end⌉; return x + y;}
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.