Analyze the following programs and write down the output of the program. Please print every character (including whitespace character) clearly!
# include
using namespace std;
int fun( int a )
{
int b = a * 2;
return b;
}
int main()
{
int y = 5;
cout << fun(y) << endl;
cout << fun(-- y) << endl;
cout << fun(y--) << endl;
cout << y < return 0;
}



Answer :

Other Questions