Dear Friends,
I want to allocate a large chunk of memeory of about 200K dynamically.
When I call malloc its not able to allocate that much memory and neither its returning a null pointer.
Is there any other way to make sure that it allocates that much memory?
my code is
char *p;
p=(char *)malloc(int+int);
Can anybody plz tell me what is the input for malloc
wether its int or long?
Regards [sig][/sig]
I want to allocate a large chunk of memeory of about 200K dynamically.
When I call malloc its not able to allocate that much memory and neither its returning a null pointer.
Is there any other way to make sure that it allocates that much memory?
my code is
char *p;
p=(char *)malloc(int+int);
Can anybody plz tell me what is the input for malloc
wether its int or long?
Regards [sig][/sig]