Thursday, 14 July 2011

PostOrder Traversal.

void postorder(node *temp)
{
if(temp!=NULL)
{
postorder(temp->left);
postorder(temp->right);
printf("-> %d ",temp->data);
}
}

No comments:

Post a Comment