logo
menu
Sign up
  1. Topics
  2. Computing
  3. C++ Programming Program Design Including Data Structures Study Set 1
  4. Quiz 3: Inputoutput

Suppose That Ch1 and Ch2 Are Char Variables and the Input

Question 24
Multiple Choice

Suppose that ch1 and ch2 are char variables and the input is:WXYZ What is the value of ch2 after the following statements execute? Cin)get(ch1); Cin)putback(ch1); Cin >> ch2; A) W B) X C) Y D) Z

Related questions
Q 25
Suppose that ch1 and ch2 are char variables and the input is:WXYZ What is the value of ch2 after the following statements execute? Cin >> ch1; Ch2 = cin.peek(); Cin >> ch2; A) W B) X C) Y D) Z
Q 26
​In C++, the dot is an operator called the ____ operator. A) dot access B) member access C) data access D) member
Q 27
Suppose that x = 25.67, y = 356.876, and z = 7623.9674.What is the output of the following statements? A) 25.67 356.87 7623.96 B) 25.67 356.87 7623.97 C) 25.67 356.88 7623.97 D) 25.67 356.876 7623.967
logo
QuizPlus
  • About
  • How it work
  • Pricing
Links
  • Privacy Policy
  • Terms And Conditions
  • Refund Policy
Contact Us
  • info@quizplus.com
© 2020-2021 Cozyplus FZ LLC. All rights reserved