Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- void foo(int *p);
- /////////////////////////////////////////////////
- int main() //
- {
- int nArr[99] = {10, 11, 12, 13, 14};
- foo(&nArr[4]);
- }
- /////////////////////////////////////////////////
- void foo(int *p)
- {
- int nA_2[99];
- p -= 3;
- printf("%d\n", *p);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement