View difference between Paste ID: iT4UW3ae and EEnrqKGu
SHOW: | | - or go back to the newest paste.
1
int main()
2
{
3
  Node* first{new Node{5}};
4
  first->next = first;
5
  first->value = 10;
6
  first->next = nullptr;
7-
}
7+
}