What is th error in this code

#include
using namespace std;
#include

int pi(char *a,int n,int i) {
if(i==n-1) {
return n;
}
if(a[i]==‘p’ && a[i+1]==‘i’) {

        for(int k=n;k>=i+2;k--) {
            a[k+2]=a[k];
        }
    
    a[i]='3';
    a[i+1]='.';
    a[i+2]='1';
    a[i+3]='4';
    
    return n+2; 

}



return pi(a,n,i+1);

}

int main() {
char a[]=“piabpicf”;
int n=strlen(a);
int k=pi(a,n,0);
for(int i=0;i<k;i++) {
cout<<a[i]<<’ ';
}
return 0;

}