Q:
There is a mistake in the following code. Add a statement in it to remove it.
main()
{
int a;
a = f (10, 3.14) ;
printf ( " %d ", a );
}
f (int aa, float bb)
{
return ( ( float ) aa + bb );
}
Answer
Add the following function prototype in main ():
float f ( int, float );
View answer
Workspace
Report Error
Discuss