#include using namespace std; class TestT{ public: /* TestT() { cout << "The no parameter constructor was called " << endl; } */ TestT(int a=0, double b=3.14){ cout << "The parameter constructor, a = " << a << " b = " << b << endl; } }; void Fun1(int param1, char param2 = 'a', string param3 = "hello"); int main() { Fun1(1); Fun1(2,'b'); Fun1(3,'c', "third"); cout << endl << endl; TestT one, two(99), three(2, 2.22); return 0; } void Fun1(int param1, char param2, string param3){ cout << "The paramuments are " << param1 << " " << param2 << " " << param3 << endl; }