Ask Question

Consider the following program segment. ifstream inFile; / /Line 1 int x, y; / /Line 2 ... / /Line3 inFile >> x >> y; / /4 Which of the following statements at Line 3 can be used to open the file progdata. dat and input data from this file into x and y at Line 4?

+4
Answers (1)
  1. 19 October, 18:23
    0
    inFile. open ("progdata. dat");
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Consider the following program segment. ifstream inFile; / /Line 1 int x, y; / /Line 2 ... / /Line3 inFile >> x >> y; / /4 Which of the ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers