What heap operation does the following function implement?bool heapOperation (HEAP* heap, void** dataOutPtr){   if (heap->size == 0)      return false;   *dataOutPtr = heap->heapAry[0];   heap->heapAry[0] = heap->heapAry[heap->last];   (heap->last)--;   (heap->size)--;   _reheapDown (heap, 0);   return true;}

A. create heap
B. insert heap
C. destroy heap
D. delete heap

Answer: D

Computer Science & Information Technology

You might also like to view...

Select the command line tool that can be used to export an NPS policy.

A. auditpol B. nps-export C. dump D. netsh

Computer Science & Information Technology

Use the ________ method of a Graphics object to draw the outline of a rectangle.

a) LineRectangle b) DrawRectangle c) Rectangle d) DrawLineRectangle e) None of the above.

Computer Science & Information Technology