Back To C User Defined Functions Index
//program to demonstrate user defined function,create a function to display hello world on the screen #include
#include
void display(); //function declaration void display() //function definition { printf("hello world"); } void main() { display(); // calling the function getch(); }