Answer the following statements true (T) or false (F)

1. C++ permits you to overload the sizeof operator.
2. A static member variable can be used when there are no objects of the class in existence.
3. When you overload the << operator, you must also overload the >> operator.
4. You can overload the conditional operator to make it function as an unconditional operator.
5. In an inheritance situation, you can't pass arguments to a base class constructor.


1. FALSE
2. TRUE
3. FALSE
4. FALSE
5. FALSE

Computer Science & Information Technology

You might also like to view...

Match the following views to their descriptions:

I. Draft A. displays top and bottom margins, headers and footers II. Print Layout B. displays a structural view of a document III. Full Screen Reading C. eliminates tabs IV. Outline D. used to create Web pages V. Web Layout E. best way to view the location of section breaks

Computer Science & Information Technology

A good way to avoid pointer related problems associated with class default assignment operators is to ____.

A. avoid the use of assignment B. avoid the use of pointers C. explicitly write an assignment operator D. avoid the use of classes

Computer Science & Information Technology

Unlike a procedural approach, a(n) ___________________ approach fits graphically windowed environments well.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Shielded twisted-pair cable is an example of a Faraday cage

Indicate whether the statement is true or false

Computer Science & Information Technology