Loop in C Language - tccicomputercoaching.com What is Loop in Programming? To write once, but execute more than one time is called Loop in Programming. This will save time of developer to write n time.
3 type of Loop: for while do-while We see one by one in detail. There are 3 sections in each loop: there is loop variable i/j 1. initialization i=1 or i=10 2. condn check i<=10 or i>=1 3. update (++ or --) i=i+1 or i++ i-e.x. We want to print 10 time "hello world". Then what is the syntax in coding? Let us see. 1. for loop for (i=1;i<=10;i++)