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
2 months agoNoe
2 months agoRodrigo
25 days agoCarmen
1 months agoMiesha
1 months agoHelaine
2 months agoLennie
3 months agoYvonne
3 months agoCarylon
3 months agoMariann
1 months agoCarisa
1 months agoAron
2 months agoCarisa
2 months agoCarisa
2 months agoErick
2 months agoBeckie
2 months agoViola
3 months ago