Function signature
Function signature comprises of following:
1. Name of the function
2. The data types of the parameters
For example
Let’s take an example of add function:
double add(int x, double y)
{
return x+y;
}
The signature of the above mentioned function is:
add( int , double );
Signature of add function comprises of:
1. Name of the function : add
2. The data types of the parameters : int , double
Related articles
0 comments:
Post a Comment