How to Convert String to Char Array in C++
In this article, we are going to learn how to convert String to Char Array in C++. We are going to learn this with the help of multiple techniques. Using std::basic_string::c_str Method to Convert String to Char Array Using Pointer Manipulation Operations to Convert String to Char Array 1. Using std::basic_string::c_str Method to Convert String …