C++ multiple choice questions for study guide. Need help so I can make sure I am
ID: 3919669 • Letter: C
Question
C++ multiple choice questions for study guide. Need help so I can make sure I am studying correct material.
Any help would be greatly appreciated! I am also posting a few more multiple choice questions and programs right now so check them out. Thanks!
Question 11 1 pts Question 16 1 pts You are writing a program during the execution of which a user will type in his or her full name (first and last separated by a spacel. The name will then be placed in a c string la.ka c style stringi. Which of these lines of code will work best? Assume that "name" is name of the string Consider the following code: cout "The sum is:"sum it2,3): How many constants are being used in this code? (either numeric or string a. cin name: b cinget:name, 80): () C. Betlineicin. name: ? d. b and c will work tually wel Question 17 1 pts Question 12 1 pts Conister the following functian declarationc foat totaint, chark What data type will he returned by this function? True r False: Private data members of a dass can be accessed diret tly from main using the dot operator O Truc False acher It cannot be detemined based on the ccde show Question 13 Question 18 1 pts Consider the following code int x-0 while 100) Consider the following code: int x-10 cout do! coulExplanation / Answer
Answer:--------------
11. cin.get(name, 80)
12. True
13. continuosly,until the computer runs out of memory
14. class
15. employee e1("Jone Doe")
16. 2
17. float
18. 1
19. True
20. True
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.