A “While” Loop is used to iterate over a specific block of code until a condition is met. The condition is evaluated first in a while loop, and if it returns true, the statements within the while loop are executed; this is repeated until the condition returns false. When the condition returns false, the control exits the loop and proceeds to the next statement in the program following the while loop. Here we have executed the c program to check armstrong number for beginners to understand the programming concepts in c.