Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- nodo* ins_end (nodo* L, char c) {
- if (!N->next) {
- nodo* p = new nodo (c, 0);
- N->next = p;
- return N; //non sono sicura di dover ritornare N però
- }
- else {
- N->next = ins_end (N->next, c);
- return N;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement