Interactive Quiz for Chapter 13

Question
Your Answer Result/Explanation
13.1
Write a statement that declares an ofstream object named output for file t.txt.
13.2
Write a statement that declares an ifstream object named input for file t.txt.
13.3
Write a statement that reads a line of characters from an ifstream object named input to a string s.
13.4
Write an expression that casts the value in a float variable f into an int value through reinterpretation.
13.5
Write an expression that casts the value in a int variable t into an array of bytes.
13.6
What a statement that closes an ofstream object output.