编辑器
#include
#include
int main() { char myStr[20] = "Hello World"; printf("%zu\n", strlen(myStr)); printf("%zu\n", sizeof(myStr)); return 0; }
11
20