We have a function foo for a base class which needs to be made into a pure virtual function. It has no parameters and an int return type. The function prototype for foo might look like this:

A. virtual int foo( ) = 0;
B. pure virtual int foo( );
C. pure virtual int foo( ) = 0;
D. virtual int foo( );

A

Computer Science & Information Technology

You might also like to view...

Which of the following is not a method of applying textual formatting to text while recording a macro?

A) Use keyboard shortcuts, such as Ctrl+Shift+right arrow to select text, then apply the desired formatting. B) Use the keyboard to select the text, then apply the desired formatting. C) Turn on the formatting; type your text; turn off the formatting. D) Select the text using your mouse, then apply the desired formatting.

Computer Science & Information Technology

Which of the following is NOT a grouping option on the Group by submenu??

A. ?Date modified B. ?Type C. ?Resolution D. ?Size

Computer Science & Information Technology