• 2022-07-26
    ‎申请一个m行n列的整型的二维动态数组,可以使用下面的哪条语句?‌
    A: p = (int *) malloc(m*n*sizeof(int));
    B: p = (int *)calloc(m*n, sizeof(int));
    C: p = (int *) malloc(m*n, sizeof(int));
    D: p = (int *)calloc(m * n * sizeof(int));
    E: int p[m][n];
    F: p = (int *) realloc(m * n * sizeof(int));