Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int foo(int *p);
- //////////////////////////////////////////////////////////////// n = x; x = 19
- int main()
- {
- int n = 4;
- n = foo(&n);
- printf(" n = %d\n", n);
- }
- ////////////////////////////////////////////////////////////////
- int foo(int *p)
- {
- int m = 0;
- int n2 = 333;
- m = n2;
- n2 = *p;
- printf(" n2 = %d\n", n2);
- return m;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement