🧩 What are Default Parameters?
A default parameter in C++ means giving a default value to a function’s parameter.If the caller doesn’t provide an argument for that parameter, the default value is used automatically.
🧠Syntax:
void functionName(int a, int b = 10) {
cout << "a...
yesamitsingh.hashnode.dev2 min read