M
Mabden
nick said:i do not know what is the use of (e.g. void *pt), when will use it.
It's a pointer to location zero in memory, of course <gd&rvvvf> ;-)
nick said:i do not know what is the use of (e.g. void *pt), when will use it.
Usage : int *n = (int *) malloc(sizeof(int));
K & R - Second Edition
char *p;
p = ( char *) malloc(strlen(s) + 1) ;
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.