const char to string

Solutions on MaxInterview for const char to string by the best coders in the world

showing results for - "const char to string"
Adam
21 Aug 2017
1 const char * s = "hello";
2 std::string str(s);