started hacking some experimental code

This commit is contained in:
Mert Gör 🇹🇷 2024-10-29 09:06:57 +03:00
parent aceb2dafff
commit ed15ce44d4
Signed by: hwpplayer1
GPG Key ID: 03E547D043AB6C8F
2 changed files with 24 additions and 0 deletions

12
c-basic/foo.c Normal file
View File

@ -0,0 +1,12 @@
#include <stdio.h>
int foo()
{
printf("I am foo\n");
}
int main()
{
foo();
return 0;
}

12
c-basic/printf.c Normal file
View File

@ -0,0 +1,12 @@
#include <stdio.h>
int main()
{
int a = 10, b = 20;
printf("a = %d, b= %d\n", a, b);
printf("a = %d, b = %d\n", b, a);
printf("%d%d", a, b);
return 0;
}