From fd5ef1084ab760df62cca3f886b4750a72efccdc Mon Sep 17 00:00:00 2001 From: anon <anon@anon.anon> Date: Sun, 10 Mar 2024 15:57:35 +0100 Subject: [PATCH] Added c_old_argument_notation.c --- c_old_argument_notation.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 c_old_argument_notation.c diff --git a/c_old_argument_notation.c b/c_old_argument_notation.c new file mode 100644 index 0000000..5a4891b --- /dev/null +++ b/c_old_argument_notation.c @@ -0,0 +1,10 @@ +//gcc c_old_argument_notation.c -o c_old_argument_notation.out -O0 -ggdb +void f(c) +char *c; +{ + void* b = (void*)c; +} + +signed main(){ + f("aaa"); +}