Tree *node
for(i=1;i<=height;i++)
{
   levelorder(node,i);
}
void levelorder(Tree *node,int level)
{
   if(level==1)
     printf(node->value);
  else
     levelorder(node->left,level-1)
     levelorder(node->right,level-1);
}

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algoge...@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to