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

a c code by using memory allocation for add ,multiply of sprase matrixes

2778


What are the properties of union in c?

1036


What is c definition?

1249


What is a constant?

1037


Should I learn c before c++?

1213


Explain how do you list a file’s date and time?

1023


Describe dynamic data structure in c programming language?

1076


Explain a pre-processor and its advantages.

1120


What are pointers? Why are they used?

1161


main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none

1342


Explain how do you convert strings to numbers in c?

1065


Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.

1389


Explain #pragma statements.

1028


Why #include is used in c language?

1029


What is difference between scanf and gets?

1245