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...

WMV files can be converted into QuickTime format

Indicate whether the statement is true or false

Computer Science & Information Technology

If you move or delete an endpoint worksheet in a 3-D reference ________.

A. you must update the reference B. Excel opens a dialog box to correct the changed reference C. nothing changes D. Excel adjusts the 3-D references to reflect the change

Computer Science & Information Technology

Briefly describe how to create wireless VLANs using switches.

What will be an ideal response?

Computer Science & Information Technology

A technician is tasked with adding an expansion card to connect an external device. Which of the following expansion cards would provide the FASTEST data transfer speeds?

A. IEEE 1394 B. USB 2.0 C. RS-232 D. EIDE

Computer Science & Information Technology