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

what is difference between array and structure?

Answer Posted / rkv charan

Array:
1.static memory allocation.
2.array size is fixed.
3.array can't have bit fields.

structure:
1.Dynamic memory allocation.
2.structure size is changed dynamically.
3.structure can contain bit fields.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the different storage classes in c?

1232


What is the use of printf() and scanf() functions?

1186


Explain how do you search data in a data file using random access method?

1171


What is #include cctype?

1174


What is the sizeof () operator?

1131


What is the use of volatile?

1147


Is a house a shell structure?

1210


How can I copy just a portion of a string?

1362


Why is c called c?

1071


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

1970


Explain the Difference between the New and Malloc keyword.

1185


Describe newline escape sequence with a sample program?

1168


How do you generate random numbers in C?

1245


Explain about the constants which help in debugging?

1418


What is build process in c?

1202