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

1. If I just write code, it is not in any namespace.

2. The scope of a using directive or using declaration is from its position in the block to the end of the program.

1. False
Explanation: Every piece of code that is not explicitly put into a name space is in the global namespace, and could be addressed using the scope resolution operator, as in ::name.
2. False
Explanation: Using directives and declarations have scope exactly like a local variable. The scope extends from the declaration to the end of the block in which the declaration occurs.

Computer Science & Information Technology

You might also like to view...

A(n) ________ is a sensor that can be used to explore remote places

Fill in the blank(s) with correct word

Computer Science & Information Technology

What format is used for the flat plaintext files some e-mail systems use for message storage?

a. POP3 b. mbox c. css d. SMTP

Computer Science & Information Technology