0

Help me in c++

How could i separate it into 3 files interface -implementation- source code #include <iostream> using namespace std; void Array_Test(int x[]); void Array_Test1(int* y); int main() { int array[ ] = {1, 2, 3 }; Array_Test(array); // function Array_Test1(array); for (int i = 0; i < 3; i++) cout << array[i]<< endl; return 0; } void Array_Test(int x[]) { for (int i = e; i < 3; i++) x[i] =2* x[i]; } void Array_Test1(int* y) { for (int i = 0 ; i < 3; i++) { *y = 2 * (*y); y++; } }

8th Feb 2022, 5:18 PM
Dee
Dee - avatar
1 Answer
0
There's a chapter covering that topic in the tutorial https://www.sololearn.com/learn/CPlusPlus/1955/
8th Feb 2022, 6:34 PM
Ipang