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