0

Function overloading+array pass to function

how to write this program.anybody help plz

1st Nov 2017, 4:48 PM
Badar Bhutta
Badar Bhutta - avatar
3 odpowiedzi
0
void f( ) { } void f(int array[ ]){ }
1st Nov 2017, 7:21 PM
Roman Degtyar
Roman Degtyar - avatar
0
give a exmple
1st Nov 2017, 7:29 PM
Badar Bhutta
Badar Bhutta - avatar
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; }
3rd Nov 2017, 5:03 AM
Roman Degtyar
Roman Degtyar - avatar