Lecture 150
//Procedures and Functions
//Code:
#include <iostream>
#include <conio.h>
using namespace std;
void fun(); //
Prototype
main ()
{
cout<<"It is return message. \n";
fun();
cout<<"\n --------------------------- \n";
cout<<"It would return nothing : \n ";
void fun();
getch();
return 0;
}
void fun()
{
cout<<"\n
Hello ......... : ";
}
Output: