A C Program To Demonstrate The Simple Function Without Arguments

Function with no arguments and no Return Value In C. In the chapter Types of Function Calling we have seen different ways of calling function.

Source Code:

 #include<stdio.h>
    #include<conio.h>
    void main()
    {
        clrscr();
        printf("\n Hello , How are You ?");
        message();
        printf("\ Donot worry I am back in main");
        getch();
    }
    message()
    {
         printf("\n Where are you moving out ?");
    }

Output of above c program

Output / Usage:

Hello how are you ?
Where are you moving out ?
Don't worry I am back in main

Comments: (Your feedback is valuable to us)