Question: In the following program segment: char a , b , c; int m , n; for ( m = 0 ; m < 2 ;

In the following program segment:
char a, b, c; int m, n;
for (m =0; m <2; m++)
{ cin >> a;
cin.get( b);
cin.get(c);
cin >> n; }// process the information read...
and data: k k 0j j l
Changing the character in the data above to a blank would cause __________.
Question 48Select one:
a.
a blank to be read into variable b
b.
an error message to be generated during execution
c.
an error message to be generated during compilation
d.
no change in the processing
e.
a blank to be read into variable a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!