c-first-steps

a C playground
Index Commits Files Refs README
commit f2a6aaae31f9ca589404042be1ee5217a81dd03e
parent 7b7d23075fd007d309a53d6328ea818d9397c81c
Author: Martin J. Klockner <martin.cachari@gmail.com>
Date:   Mon, 16 Nov 2020 15:35:02 -0300

Added ej16.c

Diffstat:
Aguia02/ej16.c | 16++++++++++++++++
1 file changed, 16 insertions(+), 0 deletions(-)
diff --git a/guia02/ej16.c b/guia02/ej16.c
@@ -0,0 +1,16 @@
+#include <stdio.h>
+
+#define TRUE 0
+
+#ifdef TRUE
+    #undef TRUE
+    #define TRUE 1
+#endif
+
+int main(void) 
+{
+    printf("TRUE = %d\n", TRUE);
+    return 0;
+}
+
+