Answers for "how to convert from char to char[]"

C++
1

string to char

std::string str = "string";
const char *cstr = str.c_str();
Posted by: Guest on February-17-2022

Browse Popular Code Answers by Language