> function types in c ~ Online tutorial

function types in c

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();

Please Give Us Your 1 Minute In Sharing This Post!
Please Give Us Your 1 Minute In Sharing This Post!
SOCIALIZE IT →
FOLLOW US →
SHARE IT →
Powered By: BloggerYard.Com

0 comments: