0

#include <iostream> using namespace std; int main() { int i=0; for(;i<5;i+=3){ i=i*i; }cout<<i; return 0; }

how output of this comes 12..can anyone explain?

21st Oct 2017, 6:00 AM
Sharad Suryavanshi
Sharad Suryavanshi - avatar
1 Antwort
0
then 9 is also less Than​ 5..should this code run only 1 time
21st Oct 2017, 6:09 AM
Sharad Suryavanshi
Sharad Suryavanshi - avatar