Guest User

Untitled

a guest
Jul 18th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. #include <stdio.h>
  2. int main()
  3. {
  4. int A[]={2,6,5,1,3};
  5. int *p;
  6. p=A;
  7. printf("Output : %d\n",*p);
  8. printf("Output : %d\n",*p+2);
  9. printf("Output : %d\n",*(p+2));
  10. printf("Output : %d\n",&p);
  11. printf("Output : %d\n",&p+1);
  12. printf("Output : %d\n",p);
  13. printf("Output : %d\n",A);
  14. printf("Output : %d\n",&A[0]);
  15. printf("Output : %d\n",&A[0]+3);
  16. printf("Output : %d\n",A+3);
  17. printf("Output : %d",p+(*(p-4)-3));
  18. }
Add Comment
Please, Sign In to add comment