Computer Science, asked by devrick453, 13 days ago

write the initialization statement to store the string welcome​ in C++

Answers

Answered by simran8219siya
1

Answer:

Creating and initializing C++ strings

Create an empty string and defer initializing it with character data.

Initialize a string by passing a literal, quoted character array as an argument to the constructor.

Initialize a string using the equal sign (=).

Use one string to initialize another.

Use a portion of either a C char array or a C++ string.

Similar questions