请帮忙看看这个小程序# Programming - 葵花宝典
s*l
1 楼
Describe what happens in the following code:
short old;
short *ptr= (short *)0xB80000;
old = *ptr++; // What happens here
*ptr = (old<<1); // What happens here and what is ptr pointing to?
short old;
short *ptr= (short *)0xB80000;
old = *ptr++; // What happens here
*ptr = (old<<1); // What happens here and what is ptr pointing to?