Code for Program to print number N times using for loop in C Programming
#include<stdio.h>
#include<conio.h>
void main()
{
int i,stat();
clrscr();
for(i=1;i<=3;i++)
stat();
getch();
}
int stat()
{
staticint x = 0;
x = x + 1;
printf("x = %d\n",x);
return(x);
}