+ 1

what's iteration

9th Jul 2016, 8:02 AM
Preetam Jangid
Preetam Jangid - avatar
2 ответов
+ 2
when a process or a code segment is repeatedly executed for a specified number of times, it is called iteration. example, for loop
9th Jul 2016, 9:27 AM
Praveen Jayakumar
Praveen Jayakumar - avatar
+ 1
Everytime you go through a loop. for(int i = 0; i < 5; i++) cout << i << endl; goes through 5 iterations.
9th Jul 2016, 9:26 AM
Tony Christopher
Tony Christopher - avatar