Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(void)
- {
- int i, data[4]={1,7,4},*p=&data[0];
- for (i=0;i<4;i++)
- printf("Valor %d em %p \n",*(p+i),p+i); // *(p+i) endereço apontado por p+i
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement