Where all is character array used?

What are the kinds of the problem in which making a character array is used?? How is it efficient ? When to use it?

hello @dee777

char array is nothing but string , so all those problems that deals with text, char array/string is needed.

another alternative of char array is c++ string class
char array is more insipired from c (so it supports all c string functions)
whereas
c++ string is provided by c++ stl library.

in terms of efficiency both are equally efficient.

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.