subject
Computers and Technology, 31.10.2019 02:31 spearjj

Consider the following program segment. ifstream infile; //line 1 int x, y; //line 2 //line 3 infile > > x > > y; //line 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?
a. infile. open("progdata. dat");
b. open(infile, "progdata. dat");
c. infile (open, "progdata. dat");
d. open. infile("progdata. dat");

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:10
David is in week 3 of his current ashford course and has a paper due by monday night at midnight. he has finished everything but the concluding paragraph. as he boots up his computer to work on it, he sees a flash across the screen and then the screen goes black. he begins to panic as he tries desperately to turn the laptop back on. david should have saved his work on what kind of portable device?
Answers: 2
question
Computers and Technology, 23.06.2019 02:30
Three out of five seniors remain undecided about a college major at the end of their senior year.
Answers: 3
question
Computers and Technology, 24.06.2019 18:50
Which style did jack use on the vocabulary words in reports?
Answers: 2
question
Computers and Technology, 24.06.2019 19:50
Which is a characteristic of free and open-source software licenses? a. the source code is unavailable to everyone b. the source code is available only to the government c. the source code is available to all users d. the source code is constantly modified
Answers: 1
You know the right answer?
Consider the following program segment. ifstream infile; //line 1 int x, y; //line 2 //line 3 inf...
Questions
question
Mathematics, 06.03.2021 01:00
question
History, 06.03.2021 01:00
question
Biology, 06.03.2021 01:00
question
Mathematics, 06.03.2021 01:00
question
Physics, 06.03.2021 01:00
Questions on the website: 13722363