Write an algorithm that determines whether or not an almost
complete binary tree is a heap.



No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

Explain the difference between 'operator new' and the 'new' operator?

1 Answers   Lucent, TCS,


What is double in c++?

0 Answers  


Why is that unsafe to deal locate the memory using free( ) if it has been allocated using new?

0 Answers  


Explain how a pointer to function can be declared in C++?

0 Answers  


What is the difference between Class and Structure?

40 Answers   HP, IBM, Samsung, TCS,






What doescout<<(0==0) print out a) 0 b) 1 c) Compiler error: Lvalue required

0 Answers  


C++ program output? Explain output of this program. #include <iostream> using std::cout; using std::cin; int main() {   cout<<cout<<' ';   cout<<cin;   return 0; } It prints some address in hexadecimal. what is it?

1 Answers  


Can we use this pointer inside static member function?

0 Answers  


What is a .lib file in c++?

0 Answers  


What is the best c++ book?

0 Answers  


Why preincrement operator is faster than postincrement?

5 Answers  


What are the advantages of using a pointer?

0 Answers  


Categories