Question: The answer should be written according to the C code. 4-) (30 pts) Write a function change(int heap[], int m, int value) that receives a
The answer should be written according to the C code.

4-) (30 pts) Write a function change(int heap[], int m, int value) that receives a minimum heap as array and integers k and value to change the item at index m by value. Note that the heap may require to maintain heap order property. The number of elements in the heap is n
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
