0

Hey friends please explain me this code

#include <iostream> using namespace std; int main() { int x=1,y=2; for(int i=0;i<10;i++){ x++; y++; } cout<<x<<y; return 0; } //output is 1112 but why ?

28th Aug 2018, 8:12 PM
Albert Whittaker :Shaken To Code
Albert Whittaker :Shaken To Code - avatar
1 Resposta