What happens when you attempt to compile and run the following code?
#include
using namespace std;
int fun(int x) {
return 2*x;
}
int main(){
int i;
i = fun(1) || fun(2);
cout << i;
return 0;
Limited Time Offer
25%
Off
Leontine
1 months agoNoe
1 months agoCarmen
2 days agoMiesha
13 days agoHelaine
23 days agoLennie
2 months agoYvonne
2 months agoCarylon
2 months agoMariann
12 days agoCarisa
13 days agoAron
16 days agoCarisa
19 days agoCarisa
21 days agoErick
28 days agoBeckie
1 months agoViola
2 months ago