Join ExamsbookAnswer :
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 );
}5
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 ); }
- Show AnswerHide Answer
- Workspace
Answer :
Explanation :
Add the following function prototype in main (): float f ( int, float );