Given the following code, what namespace does display3 belong to?

namespace ns1
{
void print();
void display1(){};
}

namespace ns2
{
void print();
void display2(){};
}

namespace
{
void display3();
}
int main()
{
using namespace ns1;
using namespace ns2;
display1();
display2();
return 0;
}

namespace
{
void display3()
{
}
}


the unnamed namespace

Computer Science & Information Technology

You might also like to view...

The functions of the character-handling library typically manipulate characters as:

a. ints b. floats c. longs d. chars

Computer Science & Information Technology

The United States government is in charge of the Internet

Indicate whether the statement is true or false

Computer Science & Information Technology

Programmers say that data items are ____ only after they have been declared and within the method in which they are declared.

A. available B. identified C. visible D. useable

Computer Science & Information Technology

What are all of the connections in a network considered, including the cables and their connectors?

A. telecommunications closet B. horizontal wiring C. work area D. cable plant

Computer Science & Information Technology