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 / sreejith av

ARRAY:
An array is defined as a group of related data items stored by means of a single variable name.

STRUCTURE:
Structure is defined as a data type to represent several different types of data with a single name.

DIFFERENCE BETWEEN ARRAYS AND STRUCTURES:
1.All data in a array should be of same data type.But in structures data can be of different data types.
2.Individual entries in an array are called elements.But in structure individual entries are called members.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference

1168


What are the differences between Structures and Arrays?

1130


What is operator precedence?

1150


Explain the use of fflush() function?

1025


Explain what is the advantage of a random access file?

1067


What's the total generic pointer type?

1010


What is scope and lifetime of a variable in c?

989


What is floating point constants?

1081


When was c language developed?

1141


What is the advantage of an array over individual variables?

1187


What does sizeof int return?

1025


why wipro wase

2249


How to compare array with pointer in c?

1049


What is scanf () in c?

1055


What is multidimensional arrays

1064