Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what's the return value of malloc()

Answer Posted / shashidhar murthy

malloc returns a pointer to the allocated space if required
memory is found, else, a null pointer is returned and
'errno' is set to indicate the error.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the 10 different models of writing an addition program in C language?

1941


main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above

1153


What is getch() function?

1107


Can we access the array using a pointer in c language?

1090


What are the advantages of using macro in c language?

1188


What is adt in c programming?

1225


State the difference between realloc and free.

1145


When should I declare a function?

1211


Is it valid to address one element beyond the end of an array?

1224


What does emoji p mean?

1200


Explain what is a pragma?

1088


How can I discover how many arguments a function was actually called with?

1112


How can you determine the maximum value that a numeric variable can hold?

1297


Explain what is operator promotion?

1147


to find the closest pair

2370