C examples for Statement:for
What is the output using for loop?
#include <stdio.h> int main()/*from w w w .ja v a 2 s .c o m*/ { int x; for ( x = 10; x > 5; x-- ) printf("The value of x is %d\n", x); }