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