C strings being replaced vs being changed by editing the char array

后端 未结 0 1230
余生分开走
余生分开走 2021-01-21 08:04

I couldn\'t exactly explain my question well in the title. Here are two sets of code:

int main() {
    char str[81] = "Hello World";
    scanf("%s&         


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