logo

Crowdly

Browser

Add to Chrome

Що буде виведено на екран, якщо викликати цю функцію послідовно три рази? voi...

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

Що буде виведено на екран, якщо викликати цю функцію послідовно три рази?

void f1 () {

static int flag = 0;

if (! flag) {

cout << "false";

flag = 5;

}

else {

cout << "true";

flag = 0;

}

}

(C++)

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