In this tutorial, we are going to write a C Program to display messages using the user defind function in C Programming with practical program code and step-by-step full complete explanation.

C program to show the use of user defined function


C program to show the use of the user-defined functions.

 
#include<stdio.h>
#include<conio.h>

void main()
{
    void message();
    message();
}

void message()
{
    puts("Have a nice day");
}


Output

 
Have a nice day