[cpp] Paste

Viewer

  1. void print(Node* head)
  2. {
  3.     Node* set = head;
  4.     while (set != NULL)
  5.     {
  6.         cout << set->value << " ";
  7.         set = set->next;
  8.     }
  9. }

Editor

You can edit this paste and save as new:


File Description
  • Paste
  • Paste Code
  • 21 May-2020
  • 152 Bytes
You can Share it: