Build tree from in post

i have build tree from in and post order .pls tell what mistake have i made since i am not getting any output .
https://ide.codingblocks.com/s/36270

also i was trying to build tree from pre and post order but i am getting no output from the below code

https://ide.codingblocks.com/s/36273

why don’t anybody clear my doubt ever.this is sick.:angry::angry::angry::rage:

Your code seems fine logically. It is even compiling successfully, but it gets terminated without printing the elements. Think over this.

You can take help from sources like