Dprogrammed1

C ques 4

Feb 21st, 2019
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.15 KB | None | 0 0
  1. #include<stdio.h>
  2.  
  3. int main()
  4. {
  5.     const int x=5;
  6.     const int *ptrx;
  7.     ptrx = &x;
  8.     *ptrx = 10;
  9.     printf("%d\n", x);
  10.     return 0;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment