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 / vrushali

If there is memory avaliablity in the system..
Then fisrt address of the memory allocated in returned.
Else NULL/Garbage value is returned.

Is This Answer Correct ?    22 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is printf () in c?

1139


How to write a multi-statement macro?

1095


What does the characters “r” and “w” mean when writing programs that will make use of files?

1540


What is the function of volatile in c language?

1184


Why use int main instead of void main?

1175


Explain the difference between malloc() and calloc() function?

1096


Explain goto?

1199


How can you read a directory in a C program?

1178


What is a structure member in c?

1050


What is malloc return c?

1077


Give differences between - new and malloc() , delete and free() ?

1149


Write a program in c to replace any vowel in a string with z?

1167


Difference between constant pointer and pointer to a constant.

1220


What is the difference between mpi and openmp?

1352


How many levels of pointers can you have?

1241