char str[10]="Hello";
char str[10]={'H','e','l','l','o','\0'};
char str[10]={'H'};
char str[10]={0};
char str[10]="Hello, world.\n";
char str[]="Hello, world.\n";
char数组初始化
最新推荐文章于 2024-03-27 16:47:04 发布
char str[10]="Hello";
char str[10]={'H','e','l','l','o','\0'};
char str[10]={'H'};
char str[10]={0};
char str[10]="Hello, world.\n";
char str[]="Hello, world.\n";