📅  最后修改于: 2022-03-11 14:57:18.452000             🧑  作者: Mango
void largest(struct node *root)
{
while (root != NULL && root->right != NULL)
{
root = root->right;
}
printf("\nLargest value is %d", root->info);
}