Giving segmentation error

why is it giving segmentation error

at line no 16 (in base case)

it should be double equal to
correct one

if(in[i]=='\0'){
        return;
    }

= this is for assingment
== used for compare

if you have more doubts regarding this feel free to ask
i hope this helps
if yes hit a like and don’t forgot to mark doubt as resolved :grinning: