diff --git a/src/main.c b/src/main.c index 38f9c76..4e1046e 100644 --- a/src/main.c +++ b/src/main.c @@ -21,8 +21,10 @@ int main(void) { tree_clear(&tree); // Check if the tree is really empty - if (tree.root == NULL) printf("Tree is empty\n"); - else printf("Tree is not empty: %d\n", tree.root->data); + if (tree.root == NULL) + printf("Tree is empty\n"); + else + printf("Tree is not empty: %d\n", tree.root->data); // Check size and print inorder printf("Tree size: %d\n", tree_size(tree.root));