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-05-13 20:45:56 发布
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";