Rewrite the C++ code to correct the error(s). void printNum(int n); { int n; cout << n << " "; return n; }
Posted: Sun May 15, 2022 8:38 am
Rewrite the C++ code to correct the error(s).
void printNum(int n);
{
int n;
cout << n << " ";
return n;
}
void printNum(int n);
{
int n;
cout << n << " ";
return n;
}