> and in haskell this is just one line: > pastes a 500 character behemoth of negrobabble wow! in c, this is also only one line! void printtree(node *root) {     if (!root) return;     queue *q = createqueue(1000);     enqueue(q, root);     while (q-> size) {         int count = q-> size;         while (count--) {             node *n = dequeue(q);             printf("%d ", n-> val);             if (n-> left) enqueue(q, n-> left);             if (n-> right) enqueue(q, n-> right);         }         printf(" ");     }     free(q-> data);     free(q); }
Unknown