Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void main(){
- int a = 0;
- char* b = &a;
- printf("%d\n",a);
- b[0] = 1;
- printf("%d\n",a);
- b[1] = 2;
- printf("%d\n",a);
- b[2] = 3;
- printf("%d\n",a);
- b[3] = 4;
- printf("%d\n",a);
- }
- //http://codepad.org/BSUdGDt2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement