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
4 months agoNadine
3 months agoLorrie
3 months agoYuette
4 months agoCarrol
2 months agoWillis
3 months agoMelodie
3 months agoFelix
4 months agoCoral
4 months agoAshton
4 months agoVincent
3 months agoElly
4 months agoEvette
4 months agoVivienne
4 months agoCory
4 months agoVivienne
4 months ago