2.1.1c++更严格的类型检查

#include 
#include 
int main() {
    const int a = 10;
    int *pa = (int*)&a;
    char *p = (char*)malloc(100);
    int arr[2][3];
    int **pArr = arr;
    return 0;
}

错误

02.1.1.更严格的类型检查.cpp [Error] cannot convert 'int (*)[3]' to 'int**' in initialization 

你可能感兴趣的:(c++,c++,开发语言,后端)