mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-15 23:18:48 +00:00
Initial commit
This commit is contained in:
13
examples/foo3.c
Normal file
13
examples/foo3.c
Normal file
@@ -0,0 +1,13 @@
|
||||
int g = 10;
|
||||
|
||||
int foo(int, int k);
|
||||
|
||||
int main() {
|
||||
int i = g;
|
||||
|
||||
return foo(i, i);
|
||||
}
|
||||
|
||||
int foo(int i, int j) {
|
||||
return i + j + g;
|
||||
}
|
||||
Reference in New Issue
Block a user