Can anyone explain to me these strings' behaviours? Why can't I empty them?

前端 未结 0 445
梦如初夏
梦如初夏 2020-12-12 07:34

I wanted to empty the string:

char str[40]={"abcdefghijklmnopqrstuvwxyz"};

I first tried doing strcpy(str2, "");

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