Pregunta de entrevista de Enable Professional Services

What is for loop and while loop?

Respuesta de la entrevista

Anónimo

12 abr 2023

In For loop, first the variable is initialised then condition is given and if condition is true then we keep on increasing the value of variable. In while loop, it continues to run till the condition remains true.