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

What's the difference between constant char *p and char * constant p?

0 Answers   Celstream,


Can a function argument have default value?

0 Answers   Genpact,


What is a pointer and how it is initialized?

0 Answers  


Describe wild pointers in c?

0 Answers  


what is real time system?what is the differance between hard and soft real time systems

2 Answers  


I just typed in this program, and it is acting strangely. Can you see anything wrong with it?

0 Answers  


what is the difference between %d and %*d in c languaga?

7 Answers   TCS,


What is a lvalue

0 Answers   Global Logic,


Why is c so important?

0 Answers  


How do you access command-line arguments?

1 Answers  


write a program to read a number and print in words that is in sentence for example 21,219 then output is "twenty one thousand and two hundred nineteen" by using only control flow statements (only loops and switch case )?

1 Answers   TCS,


What is a null string in c?

0 Answers  


Categories