Question: change the my_array_ref so that instead of returning zero when the index is out of bounds, it should return the boundary value i.e for f(-2,3)
change the my_array_ref so that instead of returning zero when the index is out of bounds, it should return the boundary value i.e for f(-2,3) and f(2,15).it should return f(0,3) and f(2,9) respectively
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
