in line 17: write i<9 only as if i=9 your program statement in line 19 will reach b[i+1]=b[10] which out of bounds
else ok
User Profile
Collapse
-
rachitmanit replied to how to define "b" in the following program... also want to solveother errors...in Cin line 11: you must write
z=max(b); //only
//as you have to pass array to function so its addres of first element is passes as argumentLeave a comment:
No activity results to display
Show More
Leave a comment: