Char array doubts

here dliminator should be uninitialized na ?for deliminator as $ in callback .?

in case of cin.getline()
by default delimiter is ‘\n’

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:


in this if we are making our own funct then for var deliminator here in parameter it should be char delim only na?

?for any delimnator that we will pass by value while calling

yes this delim should be char
as you are checking it with char
while(ch!=delim)

here in image sir has intialised with \0 but for any delim general delim it should not be intialised na?

it this is default parameter
it will be used when any parameter is not given
if you pass any delemiter

what is this??

you are asking doubt on “largest-string” video
and then you ask doubt about delimiter in getline fucntion

now what is this??
how it is connected to delimiter thing

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.