GAT Subject
Engineering
Computer Science Civil Engineering Chemical Engineering Agricultural Engineering Mechanical Engineering Electronics and Communication
2. | There is a error in the below program. Which statement will you add to remove it? | |
A. | Add prototype: float f(aa, bb) | |
B. | Add prototype: float f(int, float) | |
C. | Add prototype: float f(float, int) | |
D. | Add prototype: float f(bb, aa) | |
Answer: Option B | |
Explanation: | |
The correct form of function f prototype is float f(int, float); |
|
Tutorial Link: |