Pergunta de entrevista da empresa Enable Professional Services

What is for loop and while loop?

Resposta da entrevista

Sigiloso

12 de abr. de 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.