From ea9cb1f84676ffdfb951a64bd3374d824a04128c Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Thu, 18 Apr 2024 19:45:56 -0400 Subject: [PATCH] Revert "A bit more silly extra credit for ex12" This reverts commit 58e734c60f98a87dbfd999a5e27d9aac6390949c. --- lcthw/ex12.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lcthw/ex12.c b/lcthw/ex12.c index d9a3ce2..9663158 100644 --- a/lcthw/ex12.c +++ b/lcthw/ex12.c @@ -3,16 +3,12 @@ int main(int argc, char *argv[]) { int areas[] = { 10, 12, 13, 14, 20 }; - areas[0] = 100; char name[] = "Zed"; - name[2] = 'F'; char full_name[] = { 'Z', 'e', 'd', ' ', 'A', '.', ' ', 'S', 'h', 'a', 'w', '\0', }; - full_name[9] = 'x'; - areas[1] = name[1]; // WARNING: On some systems you may have to change the // %ld in this code to a %u since it will use unsigned ints