summaryrefslogtreecommitdiff
path: root/c-asm/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'c-asm/main.c')
-rw-r--r--c-asm/main.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/c-asm/main.c b/c-asm/main.c
new file mode 100644
index 0000000..56b9bc5
--- /dev/null
+++ b/c-asm/main.c
@@ -0,0 +1,11 @@
+#include <stdio.h>
+
+int sum(int a, int b);
+
+int main() {
+ for (int i = 0; i < 10; ++i) {
+ printf("SUM of 5+%d is %d\n", i, sum(5, i));
+ }
+
+ return 0;
+}