Solved

What Will Be the Output from This Code Fragment If \quad

Question 11

Essay

What will be the output from this code fragment if embedded in an otherwise correct and complete C++ program that is supplied the following input?
Input:
12 23
45
Code:
ifstream inStream("File.txt");
int i = 0,next;
while (cin >> next)
{
\quad i++;
\quad cout << next << end;
}
inStream.close();
cout << count << flush;

Correct Answer:

verifed

Verified

The output...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions