use of while loop

 

#include<stdio.h>
main()
{

   int i=1;

   while (i<=5)
   {
       printf("\nrahul");
       i++;
   }
   

}

output :

rahul rahul rahul rahul rahul

Comments