Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

allocating memory for 1Mb text file in C

    char *one_MB_file = (char*) malloc(sizeof(char));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #allocating #memory #text #file #C
ADD COMMENT
Topic
Name
2+7 =