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

How can you find the day of the week given the date?

1201


write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.

1991


What is the main difference between calloc () and malloc ()?

1153


What is the time and space complexities of merge sort and when is it preferred over quick sort?

1077


What does & mean in scanf?

1105


What is linear search?

1132


Under what circumstances does a name clash occur?

1200


Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

2195


Is stack a keyword in c?

1078


Write the syntax and purpose of a switch statement in C.

1104


Are local variables initialized to zero by default in c?

1051


Why shouldn’t I start variable names with underscores?

1065


Explain the use of keyword 'register' with respect to variables.

1040


What is oops c?

1240


How do we open a binary file in Read/Write mode in C?

1240