What happens when you attempt to compile and run the following code?
#include
using namespace std;
int main(){
int *i;
i = new int;
*i = 1.0 / 2 * 2 / 1 * 2 / 4 * 4;
cout << *i;
return 0;
}
Limited Time Offer
25%
Off
Franchesca
1 months agoKeneth
4 days agoBillye
6 days agoLouis
8 days agoLashon
18 days agoLevi
2 months agoClemencia
2 months agoLeontine
7 days agoPortia
9 days agoOna
10 days agoJoaquin
2 months agoCherry
12 days agoFlorinda
1 months agoChau
1 months agoYesenia
2 months agoThersa
22 days agoRosalia
27 days agoKatina
1 months agoStevie
3 months agoCory
3 months agoStevie
3 months ago