Saturday, May 21, 2011

C program to explain use of function

#include
#include
void print(void);
int main()
{
int i;
for(i=0;i<5;i++)
{
print();
printf("\n");
}

getch();
}
void print()
{
printf("Welcome to c");
}

No comments:

Post a Comment

Google+ Followers