Complete printArray function to print x elements of the arraywith a space in between:
![1 #include <iostream> 3 using namespace std; 4 6- void printArray Cint array[], int x). 9 10 12 int mainO 13 int array[100];](https://media.cheggcdn.com/media%2Ffe3%2Ffe37740e-8348-44ad-ad70-82c420cec112%2FphpMfjpYe.png)
1 #include <iostream> 3 using namespace std; 4 6- void printArray Cint array[], int x). 9 10 12 int mainO 13 int array[100]; // an array of size 100. We will only int x; 14 15 16 17 cin >> x; 18. for(inti =0 ; i 〈 x; i++){ // array initialization 19 20 array[i] = 1; 21 printArray(array, x); //
PayPal Gateway not configured
PayPal Gateway not configured