Advertisement
Imran1107048

Normal Pointer

Oct 26th, 2020
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. #include<stdio.h>
  2.  
  3. int main()
  4. {
  5. const int n = 10;
  6. int *p;
  7. p = &n;
  8. *p = 15;
  9. printf("%d\n",n);
  10.  
  11. return 0;
  12. }
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement