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


Please Help Members By Posting Answers For Below Questions

What is string function in c?

547


In C programming, what command or code can be used to determine if a number of odd or even?

632


What are external variables in c?

557


How can I invoke another program (a standalone executable, or an operating system command) from within a c program?

664


What does %d do in c?

554






How can variables be characterized?

1658


Is javascript based on c?

601


How do I use strcmp?

649


Can a function argument have default value?

680


How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?

622


What is a MAC Address?

637


What does *p++ do?

599


FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above

630


how can use subset in c program and give more example

1509


What is an identifier?

634