Answers for "declare string variable in c++"

C++
4

how can make string value in cpp

#include <string>
string hello= "hello you thre :)";
Posted by: Guest on June-07-2020
-1

how to declare a string c++

// Include the string library
#include <string>

// Create a string variable
std::string greeting = "Hello";
Posted by: Guest on August-20-2021

Code answers related to "declare string variable in c++"

Browse Popular Code Answers by Language