Use a namespace grouping to insert this declaration, void greeting();, in namespace Problem2. Then, in another, separate namespace grouping, add the definition of greeting()in namespace Problem2.
What will be an ideal response?
```
namespace Problem2
{
void greeting( );
}
namespace Problem2
{
void greeting( )
{
cout << “Greetings from namespace Problem2.\n”;
}
}
```
Computer Science & Information Technology
You might also like to view...
Which came first?
a. modems b. the first e-mail c. Archie d. Netscape
Computer Science & Information Technology
Which of the following alignment options places text, so it is the same distance from the top and bottom edges in a table cell?
What will be an ideal response?
Computer Science & Information Technology