#include <stdio.h>

void printgreeting(void);  //prototype for function

void main()
{
printf("Welcome to my program\n");
printgreeting();		//call the function

printf("End of program\n");
}

void printgreeting()   //user function
{
printf("Hello\n");
}