还是指针的问题
程序代码:
#include "stdio.h" int main() { char a[3][3]={"ab","cd","ef"}; char *p; p=a; printf("%s\n",a); printf("%s\n",p); return 0; }这里为什么会有error C2440: '=' : cannot convert from 'char [3][3]' to 'char *'错误,而改成char[3]={"ab"}就不会有这个错误了呢?