0
help me debug this
it showing some errors: Please help https://code.sololearn.com/cJWubOK48GaP/?ref=app
3 odpowiedzi
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.
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
0
Adi Nath Bhawani some of errors removed after that
but it still showing some errors