No argument and no return type:
#include
#include
void printline();
void main()
{
int a;
clrscr();
printline();
printf("\nthis is world\n");
printline();
getch();
}
void printline()
{
int i;
for(i=1;i<=40;i++)
printf("-");
}
getch();
function types in c
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment