c problem what is the output void pl int n if n 0 return cou
c++ problem: what is the output? void pl (int n){ if (n 0) return; cout
Solution
The following errors can be seen when the above code is executed:
1. In function \'void p2(int)\':
error: redefinition of \'void p2(int)\'
void p2(int n)
^
note: \'void p2(int)\' previously defined here
void p2(int n)
^
2.At global scope:
error: expected constructor, destructor, or type conversion before \'(\' token
p3(n/i));
^
3.In function \'int main()\':
error: \'p3\' was not declared in this scope
p3(n);
^
