diff options
Diffstat (limited to 'greeting.c')
| -rw-r--r-- | greeting.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/greeting.c b/greeting.c new file mode 100644 index 0000000..1a6ea11 --- /dev/null +++ b/greeting.c @@ -0,0 +1,11 @@ +#include <stdio.h> + +int greet(char *name) { + printf("Hello %s\n", name); +} + +int main(int argc, const char *argv[]) +{ + greet("mo"); + return 0; +} |
