Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

how to allocate memory for pointer in c

c=(char(*)[20])malloc(sizeof(char)*20);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #allocate #memory #pointer
ADD COMMENT
Topic
Name
2+3 =