functions with no arguments and no return values

It does not have any arguments
It does not accept any data during calling
It does not return any value to the calling function
There is no data transfer between calling function and called funtion

 

//CODING

 

#include<stdio.h>
#include<conio.h>
void   India(void);
void   Madurai(void);
main()
{
   printf(“\n I am in India”);
   India();
}
India()
{
    printf(“I am in Tamilnadu”);
    madurai();
}
Madurai()
{
   printf(“I am in Madurai”);
}  

 

OUTPUT

 

I am in India
I am in Tamilnadu
I am in Madurai

 

No data communication

cATEGORIES OF FUNCTIONS by mrs.SP.NANDHINI