Please Explain?

why in the video the condition to return is

if( a[i]==’\0’ || a[i+1]==’\0’ )
it should be only ( a[i]==’\0’ )

@namangarg31 you need 2 characters for pi so last character can be automatically discarded.
i hope its clear if yes dont forget to hit like and mark the doubt as resolved :smiley: