Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- int x[10];
- int *p;
- p=x;
- int i;
- for(i=0;i<5;i++)
- {
- scanf("%d",x+i);
- }
- for(i=0;i<5;i++)
- {
- printf("%d %d\n",(x+i),*(x+i));}
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement