Formatting
This commit is contained in:
		
							parent
							
								
									6db80a4cb9
								
							
						
					
					
						commit
						97571769a3
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		|  | @ -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)); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Imbus
						Imbus