Chapter 2

  1. The CPU can most quickly access instructions or data from cache memory because that memory is on the CPU itself.

  2. Persistent storage is not temporary like the other two: cache memory and RAM.

  3. One byte of information may be stored at a particular memory address.

  4. No. The size of a data type may vary depending on the compiler and operating system.

  5. The range of a data type is the highest and lowest value that that data type may represent.

  6. The value of an unsigned data type is either zero or positive, never negative, whereas the value of a signed data type may be negative also.

  7. .0051 is represented by 5.1E-3 in E notation.

  8. An ASCII value is a number between 0 and 255 that corresponds to a particular character.

  9. The sizeof operator returns the size in bytes of a data type on the compiler and operating system on which the program is running.

  10. A literal string is a string, generally encased in double quotes, that is outputted literally, without evaluation.

  11. An expression is a code statement with a value that has to be evaluated when the program runs.

C++ Demystified(c) A Self-Teaching Guide
C++ Demystified(c) A Self-Teaching Guide
ISBN: 72253703
Year: 2006
Pages: 148 © 2008-2017.
If you may any questions please contact us: