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 / chaudhary paresh

- Array elements are homogeneous. Structure elements are of
different data type.
- Array allocates static memory and uses index / subscript
for accessing elements of the array. Structures allocate
dynamic memory and uses (.) operator for accessing the
member of a structure.
- Array is a pointer to the first element of it. Structure
is not a pointer
- Array element access takes less time in comparison with
structures.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I dynamically allocate arrays?

1093


What is calloc() function?

1093


praagnovation

2277


When was c language developed?

1194


Explain what is output redirection?

1189


What is the size of structure pointer in c?

1063


Explain how do you print only part of a string?

1212


With the help of using classes, write a program to add two numbers.

1033


c program to compute AREA under integral

2394


What are the different types of linkage exist in c?

1031


What is the best way to store flag values in a program?

1070


What are the advantages of using new operator as compared to the function malloc ()?

1331


An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above

1164


Write a code to generate a series where the next element is the sum of last k terms.

1223


What is the purpose of main( ) in c language?

1132