Once a namespace has been created and stored in a file, it can be included within another file by supplying a(n) ____ informing the compiler where the desired namespace is to be found, and including a using directive instructing the compiler as to which particular namespace in the file to use.

A. prototype
B. data definition
C. preprocessor directive
D. exception handler


Answer: C

Computer Science & Information Technology

You might also like to view...

To uniquely identify a UNIX file, combine one or more directory names and a file name to form a __________.

a. file extension b. path name c. working directory d. subdirectory

Computer Science & Information Technology

In the Trust Center, the default option in the Macro Settings is to ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

Tagging blog posts allows users to find information in a linear way

Indicate whether the statement is true or false

Computer Science & Information Technology

(Packing Characters into Unsigned Integers) The left-shift operator can be used to pack two character values into a two-byte unsigned integer variable. Write a program that inputs two charac- ters from the keyboard and passes them to function packCharacters. To pack two characters into an unsigned integer variable, assign the first character to the unsigned variable, shift the unsigned variable

left by 8 bit positions and combine the unsigned variable with the second character using the bitwise inclusive-OR operator. The program should output the characters in their bit format before and after they’re packed into the unsigned integer to prove that they’re in fact packed cor- rectly in the unsigned variable. What will be an ideal response?

Computer Science & Information Technology