Answers for "allocate a array on strings in c"

C
0

allocate a array on strings in c

char **strs;
int num_of_strs = 10;

strs = malloc (sizeof(char *) * num_of_strs );
Posted by: Guest on March-26-2022

Code answers related to "C"

Browse Popular Code Answers by Language