1 point
I have to read the string “What is your name?” into a variable x. Which of the following is the appropriate command sequence?
x; cin>>x;
char x; cin<<x;
string x; cin>>x;
char x; cin>>x;
string x; cin >> x;
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment