logo

Crowdly

Browser

Add to Chrome

Что напечатает код? std::queue < int > q; q.push(6); q.push(3); q.pu...

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

Что напечатает код?

std::queue < int > q;

q.push(6);

q.push(3);

q.push(4);

if(q.front() == 6)

{

q.pop();

q.pop();

}

else

{

q.push(1);

}

std::cout << q.front();

0%
100%
0%
0%
0%
0%
0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on else.fcim.utm.md?

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

Browser

Add to Chrome