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;
}
Helene
5 months agoClaudio
5 months agoNadine
6 months agoTrina
6 months agoTheola
6 months agoGussie
6 months agoTony
6 months agoTheron
7 months agoBeth
7 months agoLeota
7 months agoLucina
7 months agoHelga
7 months agoTesha
7 months agoDean
7 months agoAileen
7 months agoEmelda
7 months agoDella
7 months agoWillow
7 months agoStefany
1 year agoNadine
11 months agoLorrie
12 months agoYuette
1 year agoCarrol
11 months agoWillis
12 months agoMelodie
12 months agoFelix
1 year agoCoral
1 year agoAshton
1 year agoVincent
12 months agoElly
1 year agoEvette
1 year agoVivienne
1 year agoCory
1 year agoVivienne
1 year ago