0
Function overloading+array pass to function
how to write this program.anybody help plz
3 Respuestas
0
void f( ) { }
void f(int array[ ]){ }
0
give a exmple
0
// function
void f() {}
// overloaded function
void f(int array[ ]) {}
// main entry point
int main()
{
f(); // call to function
int x[3] = {0};
f(x); // call to overloaded function
return 0;
}