From 81e476579254c2052026de716a354cd1155f2cd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mert=20G=C3=B6r?= Date: Sun, 30 Jun 2024 15:06:03 +0300 Subject: [PATCH] Foo example --- ChangeLog | 2 ++ c-basic/foo.c | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 c-basic/foo.c diff --git a/ChangeLog b/ChangeLog index e6b4174..141058c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2024-06-30 hwpplayer1 + * c-basic/foo.c: Foo example + * c-basic/helloworld.c: hello world example 2024-02-19 Mert Gör diff --git a/c-basic/foo.c b/c-basic/foo.c new file mode 100644 index 0000000..3f49f01 --- /dev/null +++ b/c-basic/foo.c @@ -0,0 +1,10 @@ +#include + +int foo(){ + printf("I am foo\n"); +} + +int main(){ + foo(); + return 0; +} \ No newline at end of file