C++ - char* vs. string*

前端 未结 7 1526
清歌不尽
清歌不尽 2021-02-04 03:28

If I have a pointer that points to a string variable array of chars, is there a difference between typing:

char *name = \"name\";

7条回答
提交回复
热议问题