Why will the following code not compile?
namespace ns1
{
void print();
void display1(){};
}
namespace ns2
{
void print();
void display2(){};
}
int main()
{
using namespace ns1;
using namespace ns2;
display1();
display2();
print();
return 0;
}
a. The call to print is ambiguous
b. We have not included the iostream library
c. We have not used namespace std
d. It will compile
a. The call to print is ambiguous
You might also like to view...
Which of the following is NOT a function for measuring central tendency?
A) CORREL B) VAR.P C) STDEV.P D) SUMIFS
________ functions are used to create formulas that test whether a condition is true or false
Fill in the blank(s) with the appropriate word(s).
Which of the following is a network of several servers, like those in the accompanying figure, together in a single location?
A. server farm B. server unit C. server mainframe D. server aggregate
For the most part, CMYK inks are which of the following?
A. reflective B. absorbent C. transmissive D. solvent