What is missing in the following data structure for the heap ADT?typedef struct{ void** heapAry; int last; int size; int maxSize;} HEAP;
A. A data structure for the nodes.
B. The position of the first element (int first;)
C. A pointer to the equals function.
D. A pointer to the compare function.
Answer: D
You might also like to view...
Match the following functions with their descriptions:
I. Sum II. Average III. Maximum IV. Count V. Minimum A. Displays the item with the lowest value. B. Can only be used with Currency, Date/Time, Decimal and Number data types. C. Can only be used with Currency, Decimal and Number data types. D. Displays the item with the highest value. E. Can be used with all data types, except complex repeating scalar data.
You cannot use the ____________________ key to insert a row at the beginning or middle of a table; instead, you use the Insert Rows Above or Insert Rows Below command.
Fill in the blank(s) with the appropriate word(s).
Which of the following typically cannot be upgraded in a laptop?
A. Video card B. Hard drive C. RAM D. Wireless card
You must assign each server to at least _____ security group
A. 3 B. 2 C. 4 D. 1