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

Are you sure that Structure is object oriented, because
structs came from C, and C wasn't an object-oriented
program, and C++ was using it at the beginning where now
they use class for the same function which is better

Array is a collection of a fixed number of components all of
the same type: it is a homogeneous data structure.

structs (records) - we use them to group items of different
types; a collection of a fixed number of components in which
the components are accessed by name. The components as
mention can be of different types. A struct is typically
heterogeneous.

Is This Answer Correct ?    82 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between ‘g’ and “g” in C?

4088


What are the difference between a free-standing and a hosted environment?

1342


code for quick sort?

2078


how should functions be apportioned among source files?

1162


Why can’t we compare structures?

1321


What is else if ladder?

1075


What is the importance of c in your views?

1231


What is the size of array float a(10)?

1187


What is the use of ?

1083


What's the total generic pointer type?

1104


What is a program flowchart and explain how does it help in writing a program?

1357


What is scope rule of function in c?

1149


How can I prevent another program from modifying part of a file that I am modifying?

1107


What are the types of variables in c?

1075


Explain the difference between structs and unions in c?

1064