C++ Programming : Print Hello and make it reverse order

Here are the code to reverse the order of a string array.
using namespace std;
int main(void){

 char array[6]="Hello";
 int i;

 cout<<array<<endl;

 for(i=0;i<6/2;i++){
  char go = array[i];
  array[i]=array[6-2-i];
  array[6-2-i]=go;
 }

 cout<<array<<endl;

 return 0;
}