Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int n, y, v;
- int nSumm;
- int foo(int n, int y);
- ////////////////////////////////////////////////////
- int main() //
- {
- n = 10;
- y = 16;
- printf("%d\n", n);
- v = foo(n, y);
- printf("%d\n", foo(n, y));
- printf("%d\n", v);
- }
- ///////////////////////////////////////////////////
- int foo(int n, int y) //
- {
- nSumm = n + y;
- return nSumm;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement