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
11 months agoNoe
11 months agoRodrigo
9 months agoCarmen
9 months agoMiesha
10 months agoHelaine
10 months agoLennie
11 months agoYvonne
11 months agoCarylon
11 months agoMariann
10 months agoCarisa
10 months agoAron
10 months agoCarisa
10 months agoCarisa
10 months agoErick
10 months agoBeckie
11 months agoViola
11 months ago