Hey friends please explain me this code | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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
0 Resposta