diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-04-11 03:48:11 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-04-11 03:48:11 +0000 |
commit | 9dc07e1cfeb61458cb23e6be13c9836e51486053 (patch) | |
tree | 9ccd25f066a5c8e35d421e90c467e811690da143 /wk5 | |
parent | 24bbbed75b994e4edd6997499738758a0f285677 (diff) |
Wed, Apr 10, 2024, 8:48 PM -07:00
Diffstat (limited to 'wk5')
-rw-r--r-- | wk5/lect/list2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wk5/lect/list2.c b/wk5/lect/list2.c index 7da5a5b..86801ac 100644 --- a/wk5/lect/list2.c +++ b/wk5/lect/list2.c @@ -28,6 +28,7 @@ int main(int argc, char *argv[]) } n->number = number; - n-> + n->next = list; + list = n; } } |