Sample Problem
•
Find the syntax errors:
•
•
float foo( int x = 5.0 , int y = 5.0 );
•
•
int main()
•
{
•
foo( 3.0 );
•
return 0;
•
}
•
•
float foo( float x, float y )
•
{
•
return x + y;
•
}
•
•