12345678910



Question 1: There is a error in the below program. Which statement will you add to remove it?

#include<stdio.h>

int main()
{
int a;
a = f(10, 3.14);
printf("%d ", a);
return 0;
}
float f(int aa, float bb)
{
return ((float)aa + bb);
}

1. Add prototype: float f(aa, bb)
2. Add prototype: float f(int, float)
3. Add prototype: float f(float, int)
4. Add prototype: float f(bb, aa)