Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- void foo(int*);
- int n1, // ;lksda;lka';
- n2 = 7, // iuoyoiuyoiuy
- *p = &n2;
- ////////////////////////////////////////////////////
- int main() //
- {
- int n = 40;
- int *pn = &n;
- foo(&n);
- printf(" *p = %d \n", *p);
- }
- ////////////////////////////////////////////////////
- void foo(int *p) //
- {
- *p = *p + 5;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement