Question: 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) return a; else return

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) return a; else return b; } void test(int) { int i; for(i=l; i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
