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