Using #define statements for file I/O names is:

A. Mandatory – the filename must be a #define.
B. Illegal – the file to be read in must be in a string or C-string.
C. Coronary – the program will not compile or link properly.
D. Optional – the file name can be put here for convenience, hard-coded, or assigned elsewhere in the program.


D. Optional – the file name can be put here for convenience, hard-coded, or assigned elsewhere in the program.

Computer Science & Information Technology

You might also like to view...

What does the /target option do when used with the gpupdate command?

A. The option can be used to specify a remote computer to force policy updates B. The option can specify whether computer or user policy settings should be updated C. The option allows the administrator to target a specific policy setting to be updated D. The option allows the specification of a target time window for the update

Computer Science & Information Technology

In some organizations, asset management is the identification, inventory, and documentation of the current information system's status-hardware, software, and networking configurations. __________

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

Computer Science & Information Technology

Which of the following Layer 2 devices is used to connect multiple nodes on a network?

A. DHCP server B. Router C. Switch D. Bridge

Computer Science & Information Technology

Which of the following statements displays the contents of a string called ‘class’ correctly?

A. cout << “I have “ class “on Mondays”; B. cout<< “I have “ << class << “on Mondays”; C. cout<< “I have << class << on Mondays”; D. cout<< “I have ‘class’ on Mondays”;

Computer Science & Information Technology