Warning: implode(): Invalid arguments passed in /www/wwwroot/jobquiz.info/mdiscuss.php on line 336 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\n", a); return 0; } float f(int aa, float bb) { return ((float)aa + bb); } ?->(Show Answer!)
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\n", a); return 0; } float f(int aa, float bb) { return ((float)aa + bb); }
Ask Your Doubts Here
Comments
By: guest on 01 Jun 2017 06.01 pm
The correct form of function f prototype is float f(int, float);