Suppose cType is a class template, which can take int as a parameter. The statement: ____ declares x to be an object of type cType, and the type passed to the classcType is int.

A. cType x;
B. cType int x;
C. cType int = x;
D. cType int :: x;


Answer: A

Computer Science & Information Technology

You might also like to view...

The main storage device for most PCs is a high-capacity ____.

A. DVD B. hard disk drive C. CD D. USB flash drive

Computer Science & Information Technology

lues of environment variables are passed to child processes

A. by making copies of the strings B. by passing pointers to the original strings

Computer Science & Information Technology

If a PC on an Ethernet network attempts to communicate with a host on a different subnet, what destination IP address and destination MAC address will be placed in the packet/frame header sent by the PC?

a. Dest. IP: IP address of default gateway. Dest. MAC: MAC address of default gateway. b. Dest. IP: IP address of remote host. Dest. MAC: MAC address of default gateway. c. Dest. IP: IP address of remote host. Dest. MAC: MAC address of remote host. d. Dest. IP: IP address of remote host. Dest. MAC: MAC address of local PC.

Computer Science & Information Technology

The ___________________ button is used to run an Alice program.

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

Computer Science & Information Technology