#include <iostream>
using namespace std;
void printTheStatement(); //Here function declaration is done
int main()
{
printTheStatement(); //Here function calling is done
return 0;
}
void printTheStatement() //Here function is defined
{
cout<<"I am a function"<<endl;
}
OUTPUT:
No comments:
Post a Comment