From 9c7dc4be8465d68c132551ed05a58bc68d155cff Mon Sep 17 00:00:00 2001 From: Ken-wangari <136615953+Ken-wangari@users.noreply.github.com> Date: Thu, 27 Jul 2023 21:36:21 +0300 Subject: [PATCH] Update magic.c --- magic.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/magic.c b/magic.c index 552d3c4..6258966 100644 --- a/magic.c +++ b/magic.c @@ -16,7 +16,8 @@ int main(void) * - only one statement * - you are not allowed to code anything else than this line of code */ - ; + *(p + 5) = 98; + /* ...so that this prints 98\n */ printf("a[2] = %d\n", a[2]); return (0);