Question: ou have declared the following string variable: string name _ manager = Susan; Which of the following statements is a legal assignment statement? Group of

ou have declared the following string variable: string name_manager = "Susan"; Which of the following statements is a legal assignment statement?
Group of answer choices
string* strp = name_manager.c_str();
string str = c_str(name_manager);
const char* cstr = name_manager.c_str();
const char* cstr = c_str(name_manager);

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!