Assuming each of the following four quest ha. the following same input from keyb
ID: 3674362 • Letter: A
Question
Assuming each of the following four quest ha. the following same input from keyboard Jones. walker Thomas What will be the values in the string variables first, middle, and last when the following statement is executed? b What will be the values in the string variables name, when the following statement is executed get line (cin, name); What will be the values in the at ring values and the char variable name then the following statements are executed? d) What will be the output after the following statement executed ?Explanation / Answer
1)
first --> "Jones,"
middle --> "Walker"
last --> "Thomas"
2)
name --> "Jones, Walker Thomas"
3)
name --> "Walker"
ch1 --> " "
4)
output --> "W."
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.