Search Results

Search: Posts Made By: jim mcnamara
Forum: Programming 11-27-2012
1,781
Posted By jim mcnamara
char *arr=malloc(100); if(arr==NULL) { ...
char *arr=malloc(100);
if(arr==NULL)
{
perror("Cannot allocate memory");
exit(1);
}


That is what alister asked you to do. Change the 100 to a suitable size, +1 more byte for the...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 05:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy