[Solved] program compiles and runs but after sometime it stops working in cpp ,using typedef keyword [duplicate]
You need to allocate memory for n before using it, something like: node n = new Node; 2 solved program compiles and runs but after sometime it stops working in cpp ,using typedef keyword [duplicate]