新手对于char*的一点疑问
Const Char* st="The expense of spirit\n";
1.如上指针中,st是地址么,怎么说st="The expense of spirit\n"
st++怎么理解?
*st++怎么理解? 先st++再解除引用么?
2.Char指针与Int指针不一样么?
Int pd;
Int* pv=&pd;
pv为pd的地址,pv<>pd, 那为什么st="The expense of spirit\n"
怎么区别这两个指针?
自己理解可能有错误, 请各位高手解惑.谢谢.