Why content of the pointer displaying instead of address

后端 未结 0 878
说谎
说谎 2021-01-03 12:43

int main() {

int ch = 65;
int *p = &ch;
char *c = reinterpret_cast(p);
cout<<*c<

        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题