0

CODEs // WHY // EXPLAIN !!!!!!!! LOST

int &fun { static int x =3; return x; } int main () { fun ()=8; cout << fun () ; }

30th Jan 2017, 10:14 PM
Amr Monsef
Amr Monsef - avatar
1 Odpowiedź
+ 2
mmmm try int fun(int num) { return num } int main() { int x = 3; cout << x << endl; x = fun(8); cout << x << endl; return 0; }
30th Jan 2017, 10:32 PM
jay
jay - avatar