How many parameters are required for sort_heap function?

a) 1
b) 2
c) 2 or 3
d) 3

1 thought on “How many parameters are required for sort_heap function?”

  1. c
    Explanation: There are three parameters required for sort_heap. There are first element in heap and last element in heap and an optional compare.

Leave a Comment