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 / ravi a joshi

malloc() returns pointer to void. That is, pointer to the
first memory location of the allocated memory block. The
pointer type is unknown at this point, hence typecasting is
done later.

Is This Answer Correct ?    17 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe wild pointers in c?

1118


Where can I get an ansi-compatible lint?

1151


Is it possible to pass an entire structure to functions?

998


What is masking?

1154


What is operator precedence?

1210


How does free() know explain how much memory to release?

1055


Explain how can I pad a string to a known length?

1196


What are header files in c programming?

1137


Explain the difference between ++u and u++?

1138


What is the most efficient way to count the number of bits which are set in an integer?

1061


How will you write a code for accessing the length of an array without assigning it to another variable?

1047


What is quick sort in c?

1091


Implement bit Array in C.

1144


a construct the"else" part of "if" statement contains anoth "if else" statement is called a) if-else b) else-if-else c) if-else-if-else d) chain if/if-else-if

1145


Can we change the value of #define in c?

1000