What is difference between iteration and loop?

A loop is defined as a segment of code that executes multiple times. Iteration refers to the process in which the code segment is executed once . One iteration refers to 1-time execution of a loop. A loop can undergo many iterations.22 Ara 2020

Sizin İçin Seçtik  What is the difference between a for loop and a for in loop?

Leave a Reply

Your email address will not be published. Required fields are marked *