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

What is c++ best used for?

0 Answers  


What is the maximum combined length of command line arguments including the space between adjacent arguments?

0 Answers  


What are pointers, when declared, intialized to a) NULL b) Newly allocated memory c) Nothing. Its random

0 Answers  


Under what conditions is multiple inheritance not recommended?

1 Answers  


Is facebook written in c++?

0 Answers  






Where can I run c++ program?

0 Answers  


What will the line of code below print out and why?

0 Answers  


Why do we learn c++?

0 Answers  


What is the use of main function in c++?

0 Answers  


When must you use a pointer rather than a reference?

0 Answers  


Can I learn c++ without knowing c?

0 Answers  


Consider the following code fragment: int main(void) { int m = 4; mystery ( m ); mystery ( m ); printf("%d", m); return 0; } What is the output on the monitor if mystery is defined as follows ? void mystery (int m) { m = m+3; }

2 Answers   CDAC, Wipro,


Categories