malloc函数怎么用的

malloc函数怎么用的
char * pstr = NULL;
.
.
pstr = (char *)malloc(size);
if (pstr == NULL)
{
/* error handler */
}

你可能感兴趣的:(malloc函数怎么用的)