Please read the new rule regarding the restriction on the use of AI tools. ×

_cian's blog

By _cian, history, 4 years ago, In English
This part of the code is given:

struct Node 
{
    int data;
    struct Node* next;
    Node(int x) { data = x;  next = NULL; }
};
to make a new node which keywords i have to use in c++?

is it :
Node* new_node=new Node()(This is not working)
or somethings

Full text and comments »

  • Vote: I like it
  • -7
  • Vote: I do not like it