MCQOPTIONS
Saved Bookmarks
| 1. |
What is the error in the following code? class t { virtual void print(); } |
| A. | No error |
| B. | Function print() should be declared as static |
| C. | Function print() should be defined |
| D. | Class t should contain data members |
| Answer» B. Function print() should be declared as static | |