C++ Function Definition Create a function which doesn't return anything.
#include <iostream>
using namespace std;
void setName(string newname)
{
cout << "New user is " << newname << endl;
}
int main()//w w w . j a v a2 s . c om
{
setName("a");
return 0;
}