logo

Crowdly

Browser

Add to Chrome

Алгоритмізація та програмування [05670]

Looking for Алгоритмізація та програмування [05670] test answers and solutions? Browse our comprehensive collection of verified answers for Алгоритмізація та програмування [05670] at vns.lpnu.ua.

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

Яким буде

результат виклику функції:

cout << f(5) << endl;

 

Функція:

int f(int n)

{

   if (n==0)

      return 1;

   else

      return

n*(n-1) * f(n-2);

}

67%
0%
33%
0%
View this question

Замінити команду присвоєння

еквівалентними командами – так, щоб не використовувалася операція інкременту, і

модифікація змінних

a та b виконувалася у правильному порядку.

int

a

=1,

b;

b = ++a;

cout << a << endl;

cout << b << endl;

View this question

Команда циклу з після-умовою

0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
View this question

Вказати

вірні відповіді.

типРезультату   ім’я ( списокПараметрів

) {

блок }

33%
100%
83%
83%
0%
0%
17%
0%
100%
View this question

Want instant access to all verified answers on vns.lpnu.ua?

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

Browser

Add to Chrome