Question: b) Find the errors in the following two functions. Briefly explain how each may be remedied. void max (a, b) { int a,b; if
b) Find the errors in the following two functions. Briefly explain how each may be remedied. void max (a, b) { int a,b; if (a>b) else return a; return b; void test (int) { int i; for(i=1; i
Step by Step Solution
3.45 Rating (145 Votes )
There are 3 Steps involved in it
b Errors in the given functions and their remedies 1 maxa b Error 1 Th... View full answer
Get step-by-step solutions from verified subject matter experts
