logo

Crowdly

Browser

Add to Chrome

В файли f1.txt і f2.txt записаний рядок символів 1234. Що буде виведено на екран...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

В файли f1.txt і f2.txt записаний рядок символів 1234. Що буде виведено на екран в результаті роботи наступного фрагмента програми:

char s1 [] = "f1.txt"; char s2 [] = "f2.txt";

ifstream from (s1);

fstream to (s2, ios :: in | ios :: out);

char ch;

from.seekg ~;

from.get (ch);

to.seekp ~;

to.put (ch);

to.seekp (0);

while (to.get (ch))

cout << ch;

cout << endl;

(C++)

0%
0%
0%
More questions like this

Want instant access to all verified answers on moodle.chnu.edu.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome