From 39aa119cdfd2e5f806dd73060d3dbac6e3c8ef93 Mon Sep 17 00:00:00 2001 From: Lucas de Castro Borges Date: Mon, 27 May 2024 08:47:11 -0300 Subject: Second example Hello world second example --- chapter01/hello2.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 chapter01/hello2.c diff --git a/chapter01/hello2.c b/chapter01/hello2.c new file mode 100644 index 0000000..d80b9ae --- /dev/null +++ b/chapter01/hello2.c @@ -0,0 +1,15 @@ +#include + +/* + * hello2.c + * My first C program with comments. + * by Lucas Castro + * created yyyy/mm/dd + */ + +int main() +{ + printf( "Hello, world!\n"); + return 0; + +} -- cgit v1.2.3