WAP in C to print message in Function


 #include<stdio.h>

#include<conio.h>

void message( );    /*funtion prototype declaration */

int main( )

{

message( );  /*function call*/

printf("hello world\n");

return 0;

}

void message( )   /*funtion defination */

{

prntf("smile,and the world smile with you ");

}


No comments:

Post a Comment

theengineerschoice01@gmail.com