logo

Crowdly

Browser

Add to Chrome

Об'єктно-орієнтоване програмування (1 курс КН)

Looking for Об'єктно-орієнтоване програмування (1 курс КН) test answers and solutions? Browse our comprehensive collection of verified answers for Об'єктно-орієнтоване програмування (1 курс КН) at moodle.chnu.edu.ua.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Відзначте всі невірні твердження:

(C++)

0%
0%
View this question
Виберіть вірні твердження

(C++)

0%
0%
0%
View this question
Який буде результат наступного виразу?

template <class T > T sum (T * a, T * b)

{T f = 1;

return (* a + * b) - f;

}

int main ()

{Int i = 5, j = 1; double x = 5., y = 6 .;

cout < < sum (& i, & j) < < "" < < sum (& x, & y);

}

(C++)

0%
0%
0%
View this question
Який правильний заголовок шаблону

(C++)

0%
0%
0%
0%
View this question
Які шаблони функцій записані неправильно?

(C++)

0%
0%
0%
0%
View this question
Які два основних види шаблонів існують в мові С ++?

(C++)

0%
0%
100%
View this question
Які твердження про параметрах шаблонів вірні?

(C++)

View this question
Чи можна створити шаблон c кількома параметрами?

(C++)

View this question
В файли 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%
View this question
Що виведе наступний код?

сout.width ~;

cout << '(' << "abcdef" << ')';

(C++)

View this question

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