void foo(int a, int b, int c); |
Yes - number of parameters |
void foo(int a, char c); |
Yes - types of parameters |
void foo(char c, int a); |
Yes - order of parameters |
void foo(int c, int d); |
No - names of parameters don't matter |
void foo(const int a, int b); |
No - const doesn't matter |
bool foo(int a, int b); |
No - return type doesn't matter |