How do you print for example the integers 3,2,1,5,4 in a
binary tree within the console in format where it looks like
an actual binary tree?


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

Post New Answer

More C++ General Interview Questions

Why for local variables the memory required to hold the variable is allocated from the program stack and for new its allocated from the heap?

1 Answers  


Is c++ primer good for beginners?

0 Answers  


What are the differences between a struct in C and in C++?

8 Answers   Amazon, Wipro,


Is there a datatype string in c++?How is the memory allocation?

3 Answers  


What do you know about near, far and huge pointer?

0 Answers  






Write a function to find the nth item from the end of a linked list in a single pass.

0 Answers   Huawei,


What are the unique features of C++.

0 Answers  


Tell me can a pure virtual function have an implementation?

0 Answers  


Can create new c++ operators?

0 Answers  


5. Can inline functions have a recursion?

4 Answers  


What are the extraction and insertion operators in c++? Explain with examples.

0 Answers  


an integer constant must have atleast one a) character b) digit c) decimal point

0 Answers  


Categories