Home / MCQ Bank / Computer
Computer Heaps

What does this pseudo_code return? int myfun(heap_arr[]) { int mini=INF; for(int i=0;i<tot_node;i++) mini=min(mini,heap_arr) return mini; }

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option C • Root of the heap

Related Computer Questions

In R, which package provides tools for working with data from the World Bank? In the following C++ code how many times the string "A's constructor called" will be printed? #include <iostream> #include <string> using namespace std; class A{ int a; public: A(){ cout<<"A's constructor called"; } }; class B{ static A a; public: B(){ cout<<"B's constructor called"; } static A get(){ return a; } }; A B::a; int main(int argc, char const *argv[]) { B b; A a1 = b.get(); A a2 = b.get(); A a3 = b.get(); } Which of the following function creates a CSS gradient image that can be used anywhere an image URL is required, including background-image, border-image, and list-style properties? The method called by clients of a class to explicitly release any resources like network, connection, open files etc. When the object is no longer required? Where can you find the Draw Table tool button in Microsoft Word?