Solved

Suppose That X and Y Are Int Variables, Ch Is

Question 4

Multiple Choice

Suppose that x and y are int variables, ch is a char variable, and the input is: 4 2 A 12
Choose the values of x, y, and ch after the following statement executes:
Cin >> x >> ch >> y;


A) x = 4, ch = 2, y = 12
B) x = 4, ch = A, y = 12
C) x = 4, ch = ' ', y = 2
D) This statement results in input failure

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents