有没有佬知道vs2022怎么实现字符串数组:char*a[ ]={"hello","world"};可以不使用二维数组这种方式吗?
可以,比如这样就可以不用指针了,二维数组: char arr[2][]={"hello", "world"};
可以的