Self Test Questions

 < Day Day Up > 



  1. What is an object? What is the difference between an object and the identifier name used to reference the object?

  2. Describe in general terms how computer memory is typically organized.

  3. What operator do you use to determine an object’s memory address? Give an example of its use.

  4. What is a pointer?

  5. What character do you use to declare a pointer? Give several examples of its use.

  6. What operator do you use to access an object via a pointer? Give an example of its use.

  7. What character is used to declare a reference?

  8. What are the primary differences between a pointer and a reference?

  9. How do you access the object referred to by a reference? How is this different from accessing an object via a pointer?

  10. (T/F) A pointer is a variable.



 < Day Day Up > 



C++ for Artists. The Art, Philosophy, and Science of Object-Oriented Programming
C++ For Artists: The Art, Philosophy, And Science Of Object-Oriented Programming
ISBN: 1932504028
EAN: 2147483647
Year: 2003
Pages: 340
Authors: Rick Miller

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net