Sorted array(recursion)

include
using namespace std;
bool issorted(int a[],int n){
if(n==0){
return true;
}
if(a[0]<<a[1]&&issorted(a+1,n-1)) {
return true;
}
else false;
}
int main(){
int a[1000];
int n;
cin>>n;
for(int i=0;i<n;i++){
cin>>a[i];
}
if(issorted(a,n))
cout<<“true”;
else
cout<<“false”;}
why it is showing error