user defined functions in c++
#include <iostream>
using namespace std;
void func( )
{
cout<<"hello"<<endl;
}
int main()
{
func();
}
#include <iostream>
using namespace std;
void func( )
{
cout<<"hello"<<endl;
}
int main()
{
func();
}