char **p; p = (char **)malloc(sizeof(char *) * 13); for (int i = 0; i < 3; ++i) p[i] = (char *)malloc(sizeof(char) * 17);