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 I find out if there are characters available for reading?

1116


formula to convert 2500mmh2o into m3/hr

1004


why wipro wase

2321


What will the preprocessor do for a program?

1085


What is the difference between strcpy() and memcpy() function in c programming?

1098


Do array subscripts always start with zero?

1314


What is c programming structure?

1212


What is hungarian notation? Is it worthwhile?

1232


Why do we need arrays in c?

1164


Write a program to print "hello world" without using a semicolon?

1071


A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream

1184


What is difference between scanf and gets?

1288


What is the use of pragma in embedded c?

1063


What is the benefit of using an enum rather than a #define constant?

1248


How does free() know explain how much memory to release?

1066