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