fork download
  1. #include <stdlib.h>
  2.  
  3. #define MAX_FILE_NAME 237
  4.  
  5. int main(void)
  6. {
  7. char ** p;
  8. char *** namesFiles = &p;
  9.  
  10. *namesFiles = malloc(10 * sizeof(char*) );
  11.  
  12. for (int i = 0; i < 10; i++)
  13. {
  14. (*namesFiles)[i] = malloc(MAX_FILE_NAME);
  15. }
  16. }
  17.  
Success #stdin #stdout 0s 2284KB
stdin
Standard input is empty
stdout
Standard output is empty