Advertisement
codisinmyvines

16.24 g

Jul 19th, 2020
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.15 KB | None | 0 0
  1. void obratno(node* head)
  2. {  
  3.     if (head->next == NULL) cout << head->data << " ";
  4.     else
  5.     {
  6.         obratno(head->next);
  7.         cout << head->data << " ";
  8.     }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement