Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

free array in c

char *arr = malloc(3 * sizeof(char));
strcpy(arr, "bo");
// ...
free(arr);
 
PREVIOUS NEXT
Tagged: #free #array
ADD COMMENT
Topic
Name
1+2 =