Write a statement that opens file trans.dat for input; use an ifstream object called inTransaction.

What will be an ideal response?

```
ifstream inTransaction{"trans.dat", ios::in};
```

Computer Science & Information Technology

You might also like to view...

At upper layers of the OSI reference model, bits are grouped together into protocol data units (PDUs) or data service units

Indicate whether the statement is true or false

Computer Science & Information Technology

A function prototype is ____.

A. a definition, but not a declaration B. a declaration and a definition C. a declaration, but not a definition D. a comment line

Computer Science & Information Technology