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 

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

1 Expert Approved Answer
Step: 1 Unlock

b Errors in the given functions and their remedies 1 maxa b Error 1 Th... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!