Answers for "character array to string c++ stl"

C++
0

character array to string c++ stl

char arr[] = "mom";
std::cout << "hi " << std::string(arr);
Posted by: Guest on July-11-2021

Browse Popular Code Answers by Language