How would you print out the data in a binary tree, level by
level, starting at the top?
Answer Posted / sridhar
By using inorder,preorder,postorder.the data may print as
LDR,DLR,LRD.this only the chance to print data in a bionary
tree.
Is This Answer Correct ? | 4 Yes | 14 No |
Post New Answer View All Answers
What is string function in c?
In C programming, what command or code can be used to determine if a number of odd or even?
What are external variables in c?
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
What does %d do in c?
How can variables be characterized?
Is javascript based on c?
How do I use strcmp?
Can a function argument have default value?
How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?
What is a MAC Address?
What does *p++ do?
FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above
how can use subset in c program and give more example
What is an identifier?