diff --git a/display_binary_tree.cpp b/display_binary_tree.cpp index ae60978..5f453d6 100644 --- a/display_binary_tree.cpp +++ b/display_binary_tree.cpp @@ -1,6 +1,7 @@ #include #include using namespace std; + class node { int info; @@ -62,6 +63,7 @@ void binary::display() node *a=new node[count]; node *temp=root; a[i]=temp; + while(i