• Answers
  • Web
Originated from
QueryCAT

Difference between array and structure?

What is difference between array and structure?


Share Send to a friend Watch Report
 
 

2 Posted Answers
Order by

 
325 helpful answers

Array is how parts are arranged.

Structure is how parts assembled. 

Posted 2008-05-01T12:22:28Z
 
1 helpful answer

Array:Static memory allocation. It uses the subscript to access the array elements. Structure:Dynamic memory allocation. It uses the dot(.)operator to access the structure members

Posted 2009-07-17T15:45:07Z

Sign in to participate

Got an answer for poison? Would you like to comment on the posted answers, or vote for the one which you think is the best?

Sign up for a free account, or sign in (if you're already a member).

Explore Related Questions

Other people asked questions on similar topics, check out the answers they received:


Q:

Describe and highlight differences among the three ...

Describe and highlight differences among the three process structures in servicES
Submitted by seek and receive   1 year ago.
  • viewed 46 times


Q:

Structure of the penis

name and decsribe the interior structure of the penis
Submitted by kina0421   1 year ago.
  • viewed 193 times


Q:

Differentiate between the structure of ice and ...

differentiate between the structure of ice and water
Submitted by Billy   2 years ago.
  • viewed 496 times
Last answer posted 2 years ago by OronD



» More...

Explore Related Posts in Forums

C++ Classes and Structures and "fast" code

Wondering what the "limit" is and what about structures, are there any limits to those aswell? What about nested structures, are those slower or faster than ordinary structures? For example if I want to make

Structure with strings

Situation: I need structure with strings and other type variables in it. Language Reference notes that is only possible to store strings in structure as array of Bytes. Furthermore requiring C-type structures, but in most cases, a class will be the better (i.e. more powerful and flexible...

How do I allocate variably-sized structures contiguously in memory?

I'm using C++, and I have the following structures: struct ArrayOfThese { int a; int b; }; struct DataPoint { int a; int b; int c; }; In memory, I want to have 1 or more ArrayOfThese elements I'm using C++, and I have the following structures: struct ArrayOfThese { int a; int b; }; struct DataPoint { int a; int ...
» More...
Powered by
Feed - Subscribe to changes to this Q&A Blog
ADVERTISEMENT
  • Answers
  • Web
Copyright © 2006-2010, Yedda Inc. and respective copyright owners · CC License