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 is alloca() and why is its use discouraged?



What is alloca() and why is its use discouraged?..

Answer / guest

alloca() allocates memory which is automatically freed when
the function which called alloca() returns. alloca() cannot
be written portably, is difficult to implement on machines
without a stack, and fails under certain conditions if
implemented simply.

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More C Interview Questions

main() { char *p1="Name"; char *p2; p2=(char *)malloc(20); while(*p2++=*p1++); printf("%s\n",p2); } what is the output?

7 Answers   AMCAT, HCL, Ramco, Zycus Infotech,


What was noalias and what ever happened to it?

0 Answers  


What is the use of structure padding in c?

0 Answers  


Do you know the difference between exit() and _exit() function in c?

0 Answers  


write a program in c to print **** * * * * ****

1 Answers   TCS,


How many types of arrays are there in c?

0 Answers  


what is inline function?

2 Answers  


can we store values and addresses in the same array? explain

3 Answers   TCS,


Under what circumstances does a name clash occur?

0 Answers   InterGraph,


What is static and volatile in c?

0 Answers  


a simple c program using 'for' loop to display the output 5 4 3 2 1

2 Answers   Google,


How do you determine the length of a string value that was stored in a variable?

0 Answers  


Categories