pastebin

Paste Search Dynamic
Recent pastes
reverse
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3. int main(){
  4.     int arr[8]={1,2,3,4,5,6,7,8};
  5.         reverse(arr+0 , arr+8);
  6.   for(int i=0 ; i<8 ; i++ )
  7.     cout<<arr[i]<<endl;
  8. }
Parsed in 0.003 seconds