The syntax to decexample of a function declarationlare a function is:
Example: The syntax to decexample of a function declarationlare a function is:
// function declaration
void greet() {
cout << "Hello World";
}
// function declaration
void greet() {
cout << "Hello World";
}