|
|
|
Data Structures
|
Storage Formats
Write one or more programs that will determine the physical (actual) storage
representation for the following data types and data structures.
- A long integer. Find just how the bits are stored in bytes. Which
bits of the integer are stored in which bytes? What is the order
of the bytes?
- How is a bool value represented and stored?
- How is an array of bool values stored?
- Show the bytes and bits of a float value.
- How is a two dimensional array of characters stored?
Are the elements of a row stored together (row major form) or
are the elements of a column stored together (column major form)?
|
|
|
|