expected primary expression before ']' token ...... line 10 column 21 : #include <iostream>

using namespace std;

void insertion_sort ( int  c[]) ;
int main () {
	
	int  ch [] =  { 314,463,25,46,24,554,99} ;
	
	insertion_sort( ch[] );	
	
	cout<<ch;
   
   return 0;
}


void insertion_sort ( int c [] ){
	
	int size =0 , temp  , i , j;
	while( c[size] != '\0' ){
	++size;
	}
	
	 for ( i = 0 ; i < size ; ++i){
	 	
	 	for ( j = i+1 ; j < size ; ++j ){
	 		
	 		if ( c[i]<c[j] ){
	 			
			      c[i]=temp;	 	
	 		      c[i]=c[j];
	 		      c[j]=c[i];
			       			       	
			 }
		 }	
	 	
	 }
	 
	 return ;
} 