A Threaded Binary Tree is a binary tree in which every node that does not have a right child has a THREAD
(in actual sense, a link) to its __________ successor
If a max heap is implemented using a partially filled array called data, and the array contains n elements (n >
0), where is the entry with the greatest value?
A compound data structure is the data structure which can have multiple data items of same type or of different types,which of the following can be considered compound data structure ?
Here is a small function definition:
void f(int i, int &k)
{
i = 1;
k = 2;
}
Suppose that a main program has two integer variables x and y, which are given the value 0. Then the main
program calls f(x,y); What are the values of x and y after the function f finishes?