This commit is contained in:
Radovan Kofira 2020-11-24 22:20:53 +01:00
parent 21d18dafda
commit 6b98cd5c9f

View File

@ -25,14 +25,13 @@ struct node* root;
n++; n++;
} }
} }
printf("%d",root->data);
printf("Je to taka kopa:\n"); printf("Je to taka kopa:\n");
/*for (i = 0; i < n; i++) { for (i = 0; i < n; i++) {
printf("%d\n", a[i]); printf("%d\n", a[i]);
if(a[i+1]!=0){ if(a[i+1]!=0){
} }
}*/ }
preorderTraversal(root); //preorderTraversal(root);
return 0; return 0;
} }