What does this code fragment store in d1 and d2 if the input file contains
```
string d1, d2;
...
infile >>d1;
getline( infile, d2 );
first line
second line
```
a. d1 = "first"
d2 = " line"
b. d1 ="first"
d2 = "second line"
c. d1 = "first line"
d2 = "second line"
d. d1 = "first"
d2 = " line second line"
a. d1 = "first"
d2 = " line"
Computer Science & Information Technology
You might also like to view...
A ____ encapsulates the attributes and behaviors of the object it creates.
A. constructor B. property C. class D. structure
Computer Science & Information Technology
____________________ are the individual categories of information stored in a record.
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology