Specific level printing in BST

C code to print specific level values in BST. Level 0 mean Root value.

binary_level

 

For above binary tree
Level          Values

0                       8

1                      3  10

2                     1   6  14

….

Function implementation for level printing :

 

 

Complete C code with implementation of binary tree and level printing in BST.