Home / MCQ Bank / Computer
Computer Arrays And Strings In C Plus Plus Difficulty: Medium

What is the correct way to declare a string object named myString and initialize it with the value "Welcome" in C++?

Select the correct option to test your answer:

More Computer Questions

How do you find the day of the week for a given Date object in Ruby? What is false about constructor? What is the function used to stop capturing the ad hoc timing ? Which of the following languages is the most widely used? What is the purpose of the `matches()` method in Java regular expressions?