foo example
This commit is contained in:
parent
e3c1801a8f
commit
fba2a8ebab
2 changed files with 19 additions and 0 deletions
9
c-basic/foo.c
Normal file
9
c-basic/foo.c
Normal file
|
@ -0,0 +1,9 @@
|
|||
#include <stdio.h>
|
||||
foo()
|
||||
{
|
||||
printf("I am foo\n");
|
||||
}
|
||||
main()
|
||||
{
|
||||
foo();
|
||||
}
|
10
c-basic/foo2.c
Normal file
10
c-basic/foo2.c
Normal file
|
@ -0,0 +1,10 @@
|
|||
#include <stdio.h>
|
||||
|
||||
int foo()
|
||||
{
|
||||
printf("I am foo\n");
|
||||
}
|
||||
int main()
|
||||
{
|
||||
foo();
|
||||
}
|
Loading…
Reference in a new issue