my code is throwing error. please look into it
Binary tree using recursion (pre-order)
Hey please recheck if u have shared the correct code.
Because ur print function does not have a proper definition in the current code.
@Anku47
Please incorporate these changes:
on line 5 : its int data
on line 30 its int main()
and line 27-29 has to be inside print function which u haven’t written in the above shared code.
Hey , If your doubt is resolved then please mark it resolved
Otherwise let me know the issue .