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

How can I set an array's size at run time?

Answer Posted / vijay zanvar

You can't do that in C. Use dynamic allocation method
to implement array. See Q. 20 and 41 in
http://www.geocities.com/vijoeyz/faq/

Best,
Vijay Zanvar,
Home Page - http://geocities.com/vijoeyz/

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

a program that can input number of records and can view it again the record

1918


What are the string functions? List some string functions available in c.

992


What is the purpose of the preprocessor directive error?

1276


Where register variables are stored in c?

970


Difference between linking and loading?

1112


which is conditional construct a) if statement b) switch statement c) while/for d) goto

1221


How can I invoke another program or command and trap its output?

1098


What are the Advantages of using macro

1177


What are header files in c?

1080


What is the benefit of using const for declaring constants?

1049


How many identifiers are there in c?

1024


Explain the bubble sort algorithm.

1074


How would you rename a function in C?

1046


What is extern c used for?

1062


Tell me when is a void pointer used?

1183