Inspiren Infotech interview question

Write a program for a print element from a binary tree in level wise.