diff options
Diffstat (limited to 'c/hello-world/src')
-rw-r--r-- | c/hello-world/src/hello_world.c | 5 | ||||
-rw-r--r-- | c/hello-world/src/hello_world.h | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/c/hello-world/src/hello_world.c b/c/hello-world/src/hello_world.c new file mode 100644 index 0000000..6a108d3 --- /dev/null +++ b/c/hello-world/src/hello_world.c @@ -0,0 +1,5 @@ +#include "hello_world.h" + +const char *hello(void) { + return "Hello, World!"; +} diff --git a/c/hello-world/src/hello_world.h b/c/hello-world/src/hello_world.h new file mode 100644 index 0000000..e553b80 --- /dev/null +++ b/c/hello-world/src/hello_world.h @@ -0,0 +1,6 @@ +#ifndef HELLO_WORLD_H +#define HELLO_WORLD_H + +const char *hello(void); + +#endif |