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 / arthy

main()
{
int n,i;
scanf("%d",&n);
int a[n];
}

Is This Answer Correct ?    4 Yes 25 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a structural principle?

1177


State two uses of pointers in C?

1071


What is wild pointer in c?

1086


Why does everyone say not to use gets?

1113


What are types of structure?

1131


What is the use of define in c?

1069


What are header files why are they important?

1098


about c language

2029


Explain what is the stack?

1111


What are linked lists in c?

1134


What is volatile, register definition in C

1112


Why shouldn’t I start variable names with underscores?

1071


Explain output of printf("Hello World"-'A'+'B'); ?

1501


a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler

1086


write a c program to calculate sum of digits till it reduces to a single digit using recursion

3319