This website works better with JavaScript.
Home
Explore
Help
Sign In
piumarta
/
subc
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
test return from function and printf %d conversion
master
Ian Piumarta
3 months ago
parent
7fe0d9d9bf
commit
12fa7c1de6
1 changed files
with
7 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+7
-4
test.txt
+ 7
- 4
test.txt
View File
@ -1,11 +1,14 @@
#!./main
// -*- C -*-
#!./main -*- C -*-
#include <stdio.h>
int foo(int a)
{
return 42;
}
int main(int argc, char **argv)
{
printf("hello, world\n");
printf("hello, world
%d
\n"
, foo(argc)
);
return 0;
}
Write
Preview
Loading…
Cancel
Save