excuse me there,
sorry for your time,
how can i change any element in received array to another number?
example:
i want to change 4th element in sent ( 0 ) and change it to ( 1 ) in received

Code:
//array
#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
  
    int sentArray[ 16 ]={ 0,0,1,0,0,0,1,0,0,0,1,0,0,0,1,1 };
    int receivedArray[ 16 ];
    
   


    for (int i=0;i<10;i++)
    
     receivedArray[i]=sentArray[i];
    
    cout<<" sent "<<setw(13)<<" received "<<endl;
    
    //output contents of inaaray and outarray in tabular format
    for (int j=0 ; j<10 ; j++ )
    cout<<setw(5)<<sentArray[j]<<setw(13)<<receivedArray[j]<<endl;
    
    
    
    
    system("pause");
}   //end main