malloc error :(
my code contains the following :
char *temp = (char *)malloc(1024, sizeof(char));
am i right ?
beacuse when i m compiling it , it is giving me the folloeing errors:
warning: incompatible implicit declaration of built-in function 'malloc'
error: too many arguments to function 'malloc'
pls help
thanks
|