Review Questions


  1. What is a variable?

  2. What is a statement?

  3. Which of the following are legal names for variables in C++?

    1. firstname

    2. &salary

    3. x

    4. y

    5. first@name

  4. All valid C++ statements end with a what?

  5. What type of value must the main function return?

  6. What is the purpose of brackets?

  7. What is a local variable?

  8. What is a global variable?

  9. If a function does not return anything, then what do you put for its return type?

  10. What is a parameter?




C++ Programming Fundamentals
C++ Programming Fundamentals (Cyberrookies)
ISBN: 1584502371
EAN: 2147483647
Year: 2005
Pages: 197
Authors: Chuck Easttom

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