diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1530978 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.o \ No newline at end of file diff --git a/hello.c b/hello.c new file mode 100644 index 0000000..a181a0a --- /dev/null +++ b/hello.c @@ -0,0 +1,5 @@ +#include + +void sayhello(){ + printf("Hello from sayhello func\n"); +} \ No newline at end of file diff --git a/main.c b/main.c new file mode 100644 index 0000000..3c3db4e --- /dev/null +++ b/main.c @@ -0,0 +1,7 @@ +#include +void sayhello(); +int main(){ + printf("Hello, world!\n"); + sayhello(); + return 0; +} \ No newline at end of file