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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 17:30, arri05
What is force? what are the types of force ? explain all with suitable examples
Answers: 1
image
Computers and Technology, 21.06.2019 22:40, bartekpiglo
Write an assembly program with the following specifications. a). in the main block, you should have two registers r4 and r5. they should be checked in an infinite loop. if r4 is greater than r5, then the greater subroutine will be called. if r4 is less than r5, then the less subroutine will be called. if r4 equals r5, then no operations will be done
Answers: 1
image
Computers and Technology, 23.06.2019 14:30, HarryPotter10
Open this link after reading about ana's situation. complete each sentence using the drop-downs. ana would need a minimum of ato work as a translator. according to job outlook information, the number of jobs for translators willin the future.
Answers: 3
image
Computers and Technology, 24.06.2019 04:30, shadenShaden2037
What is the process in which the software development team compiles information to determine the final product
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 in other subjects: