diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-02-27 21:52:16 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-02-27 21:52:16 +0000 |
commit | 24ec9c6368438425ba90f70119af04f67090b262 (patch) | |
tree | 922f2a36cb6535116b64fc0fb86db81aac83b603 /wk4/lect/get.c | |
parent | 1b4e3661455debda8c2caff268c26ffe5e8379b5 (diff) |
Tue, Feb 27, 2024, 1:52 PM -08:00
Diffstat (limited to 'wk4/lect/get.c')
-rw-r--r-- | wk4/lect/get.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wk4/lect/get.c b/wk4/lect/get.c index 594c606..60a134f 100644 --- a/wk4/lect/get.c +++ b/wk4/lect/get.c @@ -6,7 +6,7 @@ int main(void) { - char *s; + char s[4]; printf("s: "); scanf("%s", s); printf("s: %s\n", s); |