1. Point out the error in the program
A. Missing parenthesis in return statement
B. The function should be defined as int f(int a, int b)
C. Redeclaration of a
D. None of above
Advertisement
2. Point out the error in the program
A. Error: Prototype declaration
B. No error
C. Error: return statement cannot be used with conditional operators
D. None of above
Advertisement
3. Point out the error in the program
A. Error: Not allowed assignment
B. Error: Doesn’t print anything
C. No error
D. None of above
Advertisement
< PREVIOUS POSTFunctions - Find Output of Program
NEXT POST >Functions - Point Out Correct Statements