...

/

Conversion Between C++ and C Strings

Conversion Between C++ and C Strings

There are several ways to convert C++ strings to C strings. Let's go through them now.

While the conversion of a C string in a C++ string is done implicitly, we must explicitly request conversion from a C++ string into a C string. ...