Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (root)
- {
- disp( root -> left );
- cout << root -> key;
- if (root -> left ) cout<<" Lewy: "<< root -> left;
- if (root -> right ) cout<<" Prawy: "<< root -> right;
- cout<<endl;
- disp( root -> right );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement