Advertisement
Guest User

Untitled

a guest
Sep 17th, 2014
284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const int x = 1;
  2.  
  3. int main(int) {
  4. int *px = (int *) &x;
  5.  
  6. *px = 0;
  7.  
  8. printf("x is %d", x);
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement