I am getting output only till 1–>3 from my code i dont know why and when im running in coding blocks ide i get the warning
Output
source.cpp: In function ‘node* insertInBST(node*, int)’:
source.cpp:31:1: warning: control reaches end of non-void function [-Wreturn-type]
31 | }
| ^