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 ?
1 Resposta
#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 ?