Write the C code to perform in-order traversal on a binary tree. | Eklavya Online

Write the C code to perform in-order traversal on a binary tree.

void in-order(struct treenode *tree)
{
if(tree != NULL)
{
in-order(tree→ left);
printf(“%d”,tree→ root);
in-order(tree→ right);
}
}