What happens when you attempt to compile and run the following code?
#include
using namespace std;
int op(int x, int y);
float op(int x, float y);
int main()
{
int i=1, j=2, k;
float f=0.3;
k = op(i, j);
cout<< k << "," << op(0, f);
return 0;
}
int op(int x, int y)
{
return x+y;
}
float op(int x, float y)
{
return x?y;
}
Stefany
1 months agoNadine
11 days agoLorrie
30 days agoYuette
1 months agoCarrol
22 hours agoWillis
24 days agoMelodie
25 days agoFelix
1 months agoCoral
1 months agoAshton
2 months agoVincent
30 days agoElly
1 months agoEvette
2 months agoVivienne
2 months agoCory
2 months agoVivienne
2 months ago