CPSC 335 Quiz 1

Answer the following questions with a few sentences.

  1. How do C++ and Java differ in philosophy?
  2. What are three differences between a hello world program in C++ vs Java?
  3. What does it mean to say that cout is "buffered"?
  4. Why should one avoid undefined behavior in C++ programs?
  5. What's a "forward declaration" of a function and why might you use one?