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 malloc() and calloc()?

1828


Without Computer networks, Computers will be half the use. Comment.

2296


What is assert and when would I use it?

994


write an algorithm to display a square matrix.

2699


What functions are used for dynamic memory allocation in c language?

1140


Here is a neat trick for checking whether two strings are equal

1016


Which type of language is c?

1069


Why is c known as a mother language?

1233


What is main () in c?

1063


Explain Basic concepts of C language?

1143


What is the use of a static variable in c?

1055


Why is c called a structured programming language?

1269


I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.

2363


What is the use of bit field?

1175


Are pointers integers in c?

1070