write the initialization statement to store the string welcome in C++
Answers
Answered by
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