[solved] – Question 8440
what’s the difference between the following functions?
Void init1 ()
{
Static int yrs = 1;
Cout << “The value of yrs is ” << yrs << endl;
Yrs = yrs + 2;
return;
}
Void init2 ()
{
Static int yrs;
Yrs = 1;
Cout << “The value of yrs is ” << yrs << endl;
Yrs = yrs + 2;
return;
}
Expert Answer
OR

