Print all paths in Binary Tree

C function to print all paths in binary tree from root to leaf.

For a given binary tree o/p should be :

Binary Search Tree , 8 is root node ,left branch has nodes whose value are less than 8 and right branch has nodes whose values are greater than 8

Print all paths o/p :

8 3 1

8 3 6 4

8 3 6 7

8 10 14 13

 

 

==> Click Here to Get Complete C Code of Binary Search Tree implementation

==> Click here to Get Code for all Path Print and Binary Tree implementation

References : http://cslibrary.stanford.edu/110/BinaryTrees.html