Wednesday, February 10, 2010

simple c program in for loop

#include
#include
int main()
{
int index;

   for(index = 0 ; index < 10 ; index = index + 1)
      printf("GUNA\n");
   getch();
   return 0;
}



/* Result of execution

GUNA
GUNA
GUNA
GUNA
GUNA
GUNA
GUNA
GUNA
GUNA
GUNA
*/

No comments:

Post a Comment