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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain zero based addressing.

1001


How many types of operator or there in c?

1072


What is a newline escape sequence?

1087


What do mean by network ?

1146


What does 4d mean in c?

1478


Write a simple code fragment that will check if a number is positive or negative.

1135


Do you know the difference between malloc() and calloc() function?

1041


What is a macro, and explain how do you use it?

1060


How can a program be made to print the line number where an error occurs?

1069


Why header files are used?

1102


Explain what is the most efficient way to store flag values?

1210


What is pointer and structure in c?

1144


What is the meaning of typedef struct in c?

1050


Why is not a pointer null after calling free?

1003


Write the Program to reverse a string using pointers.

1003