.
void PrintArr(int* arr,int n) { cout<<endl; for (int i=0;i<n; i++) { cout<<arr[i]<<" "; } cout<<endl; }