help me debug this | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

help me debug this

it showing some errors: Please help https://code.sololearn.com/cJWubOK48GaP/?ref=app

7th Nov 2021, 3:49 AM
Pintu Batesar
Pintu Batesar - avatar
3 Answers
0
"Node *new Node = new Node(data);" From the looks of things, I think you are trying to go for an identifier name ( "new Node" ) with space in it, which isn't possible. Consider using "new_node" or "newNode" instead.
7th Nov 2021, 4:18 AM
Arsenic
Arsenic - avatar
0
Names of identifiers cannot have blankspace in it. Where you have written *new Node, write there *newNode . I hope by doing that itself, the code will work. Names of identifiers can have alphabets, numbers and underscore ONLY with name always starting with alphabet
7th Nov 2021, 4:22 AM
Adi Nath Bhawani
Adi Nath Bhawani - avatar
0
Adi Nath Bhawani some of errors removed after that but it still showing some errors
7th Nov 2021, 4:32 AM
Pintu Batesar
Pintu Batesar - avatar