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

malloc returns a pointer to the allocated space if required
memory is available otherwise it will return a null pointer.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain how do you use macro?

1207


How will you divide two numbers in a MACRO?

1186


How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?

16918


Differentiate between full, complete & perfect binary trees.

1169


Tell us something about keyword 'auto'.

1109


find out largest elemant of diagonalmatrix

2323


program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)

2146


What is the use of bit field?

1235


Why c is called a middle level language?

1161


What does the message "automatic aggregate intialization is an ansi feature" mean?

1241


What is data structure in c programming?

1129


Describe explain how arrays can be passed to a user defined function

1164


What are pointers? Why are they used?

1248


Explain how can I remove the trailing spaces from a string?

1104


int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above

1389