Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

allocate a array on strings in c

char **strs;
int num_of_strs = 10;

strs = malloc (sizeof(char *) * num_of_strs );
Source by overiq.com #
 
PREVIOUS NEXT
Tagged: #allocate #array #strings
ADD COMMENT
Topic
Name
1+7 =