If the input stream go_in contains the following characters:

Roses are red
Violets are blue
what would be stored in the string variables s1 and s2 after execution of the following code:
go_in >> s1;
go_in.ignore (100, ‘\n’);
getline (go_in, s2);

a) s1: Roses are red, s2: Violets are blue
b) s1: Roses, s2: are red
c) s1: Roses, s2: Violets
d) s1: Roses, s2: Violets are blue

d) s1: Roses, s2: Violets are blue

Computer Science & Information Technology

You might also like to view...

In the catch block below, what is e?

``` catch (DivideByZeroException e) { Console.WriteLine(e); } ``` a) The type of the exception being caught b) The name of catch block’s exception parameter c) A finally block d) An exception handler

Computer Science & Information Technology

What is the purpose of this command, and from what prompt is this command issued?

ip http server What will be an ideal response?

Computer Science & Information Technology