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