C Programming Code Examples C > For Loops and While Loops Code Examples Multiple initialization inside for Loop in C Nested for loop Statement Nested For Loop in C Programming Program to convert binary to decimal number system Program to convert decimal to binary more than 18 bits Program to count number of digits without using loop Program to display alphabets using ASCII values Program to display number in words Program to display odd numbers without using if statement Program to find Armstrong numbers in given range Program to find first and last digit Program to find first digit of a number Program to find sum of even numbers in given range Program to find sum of first and last digit without using loop Program to find sum of natural numbers in given range Program to find sum of odd numbers in given range find sum of prime numbers in given range generate perfect numbers in given range Program to print even numbers in given range Program to print even numbers without using if statement Program to print Fibonacci series in given range print natural number in reverse in given range Program to print natural numbers in range Program to print odd numbers in given range print prime numbers in given range Program to print strong numbers in given range Program to swap first and last digit of a number See the for loop terminating condition Set the init value for a for loop Shift statement in for in C Programming Simplest for loop Statement Two condition for ending a for loop Use break in for loop to exit Use float as for loop control variable Use for loop to calculate the square and save it to array Use getchar inside while loop Use of break in a for loop statement Use of break in a while loop statement Use of Continue in While loop statement while loop statement in C programming language While Statement vs do..while loop Statement Page 1 Page 2 Page 3