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

What is dynamic dispatch in c++?

1106


Distinguish between actual and formal arguments.

1124


Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

1133


Describe the difference between = and == symbols in c programming?

1447


What are enums in c?

1285


Once I have used freopen, how can I get the original stdout (or stdin) back?

1119


What is the purpose of sprintf() function?

1179


What is string length in c?

1157


i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical

2385


how to find anagram without using string functions using only loops in c programming

3231


Is c weakly typed?

1070


What are enumerated types?

1265


What's the best way of making my program efficient?

1150


What is the meaning of && in c?

1085


Can you explain the four storage classes in C?

1165