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...

Why the use of alloca() is discouraged?

Answer Posted / sathish kumar

Hi All,

If you use alloca inside a function when it retuns from
function it will be resulting in memory leak. Thats why
its discouraged to use.

Thanks & Regards
Sathish Kumar

Is This Answer Correct ?    2 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

1078


What is %d used for?

1002


What is main () in c?

1029


How do I send escape sequences to control a terminal or other device?

1032


What is scope of variable in c?

1011


What is the purpose of main( ) in c language?

1112


‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.

2311


Write a Program to accept different goods with the number, price and date of purchase and display them

6178


Why c is procedure oriented?

1019


Linked lists -- can you tell me how to check whether a linked list is circular?

1050


Explain zero based addressing.

980


Who is the main contributor in designing the c language after dennis ritchie?

967


Why is it that not all header files are declared in every C program?

1165


A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile

1069


Explain the use of 'auto' keyword in c programming?

1086