char a[] = {‘a’,’\0’,‘b’};
Is it possible to print characters after the null character?
char a[] = {‘a’,’\0’,‘b’};
Is it possible to print characters after the null character?
@poojagera
Yes you can
just do
for(int i=0;i<3;i++)
cout<<a[i]<<" ";
If your doubt is resolved please mark it as closed.