Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

how to return array of char in c

int main() {
    char *p = foo(10);
    if(p) {
        // do stuff with p
        free(p);
    }

    return 0;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #return #array #char
ADD COMMENT
Topic
Name
7+7 =