Some questions on function arguments
What is wrong with each of the following function declarations?
-
int add2(int val1, val2)
{
return val1 + val2;
}
-
float mul2(float v1; float v2)
{
return v1 * v2;
}
Answers to these questions.
Back to notes on function arguments.