A loop is a control structure in programming that allows you to execute a block of code multiple times,either a set number of times or untill a condition is met.some types of loops for loop,while loop,do-while loop.Example of for loop-
#include <stdio.h>
void main(){
for(int i=1;i<=5;i++){
printf("%d\n",i);}
return 0;
}