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...

The command to close the telnet connection is:

a: end b: close c: exit d: q e: rq

Computer Science & Information Technology

PowerPoint allows you to customize every fifth row or column in a table through a predefined style

Indicate whether the statement is true or false

Computer Science & Information Technology

All organizations with a router at the boundary between the organization's internal networks and the external service provider will experience improved network performance due to the complexity of the ACLs used to filter the packets.

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

Computer Science & Information Technology

Which of the following would define a two dimensional structure to store temperature during three periods of a day for seven days?

A. int [ , ] temp = new int [7, 3]; B. int [ , ] temp = new int [6, 2]; C. int  temp[7] [3 ] = new temp [7] [3]; D. int  temp[6] [2 ] = new temp [6] [2];

Computer Science & Information Technology