Question: 21.(4 pts) The input stream buffer contains the following characters (n represents the new line character) and the reading marker is currently on the D

21.(4 pts) The input stream buffer contains the following characters (n represents the new line character) and the reading marker is currently on the D before the A ADBOCIn102031nDOEOFOGCHIn What is the output to the terminal when the code segment below is executed? Place one character in each box. Hint: Some variables have their value changed as the input is read. A indicates a space int numI: char chl, ch2; cin.ignore (2,'In') cin >> numl cin >> chl: cin.ignore (4, ' In); cin >>ch2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
