SHARE
TWEET

Untitled

a guest Jan 23rd, 2020 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void afisarediferita(NodeT *node,int n) //parcurgerea in INORDINE determina si inaltimea nodului respectiv
  2. {
  3.     if(node==NULL) return 0;
  4.     else
  5.     {
  6.         afisarediferita(node->left,n+1);
  7.         int i;
  8.         for(i=1; i<=n; i++)
  9.             printf("\t");
  10.         printf("%d\n",node->id);
  11.         afisarediferita(node->right,n+1);
  12.     }
  13. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top