Run »
#include
#include
using namespace std; void myFunction(string country = "Norway") { cout << country << "\n"; } int main() { myFunction("Sweden"); myFunction("India"); myFunction(); myFunction("USA"); return 0; }
Sweden
India
Norway
USA