Pages

Saturday 10 September 2011

Storage Structures

It describes how the data items are stored in the memory.
  • It provides a map of how data elements are allocated memory space
  • Elements are stored in conseccutive or in disjoint storage locations
  • Each location is identified by unique number called memory address
  • The figure contigous allocation of storage space to set of characters

To access any element, the address of the first element is needed

  • As shown in the figure character A, B, C are stored in non-contigous locations
  • Each character A is followed by integer 3000, which is the storage address of character B.

No comments:

Post a Comment