kjhjkh
C++
code posted
created at 22 Aug 06:07
Edit
|
Back
1 2 3 4 5 6 7 8 |
Node* currNode = *listRef1; while(currNode){ if(currNode->next == NULL) { currNode->next = *listRef2; break; // !!!!Very important - Wont terminate if you miss this!!!! } currNode = currNode->next; |
234 Bytes in 2 ms with coderay