Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int _foo(int, int);
- char sz[67] = "n = %4d\n";
- /////////////////////////////////////////////
- int main() //
- {
- int n = _foo(5, 20);
- printf("const %4d\n", 77);
- printf("_foo %4d\n", n);
- printf(sz , 100 + n);
- return 0;
- }
- ////////////////////////////////////////////
- int _foo(int n1, int n2) //
- {
- return 661 + n1 + n2;
- }
- /*
- #include <stdio.h>
- int _foo();
- /////////////////////////////////////////////
- int main() //
- {
- int n = 12;
- printf("const %3d\n", 77);
- printf("_foo %3d\n", _foo());
- printf("n = %3d\n", n );
- return 0;
- }
- ////////////////////////////////////////////
- int _foo() //
- {
- return 661;
- }
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement