simple introduction to function prototype,function argument and parameters,function definitions and function call.
example
..................................................................................................................
#include<iostream.h>
#include<conio.h>
#include<math.h>
void hadal(void) ;//function prototype
int main()
{
using namespace std;
cout<<"I am calling a function named hadal."<<endl;
hadal ();//function call
system("pause");
return 0;
}
void hadal (void) //function definition.
{
using namespace std;
cout<<"I am here dude! what is that you want."<<endl;
A PROGRAM TO PRINT THREE OVERLOADED FUNCTIONS
OF AN ARRAY
*/
#include <iostream>
using namespace std;
int main()
{
void print(const int data [], int size = 10); // int version
void print(const float data [], int size = 10); // float version
void print(const char data [], int size = 10); // char version