logo

Crowdly

Browser

Add to Chrome

Supongamos que v es un vector<int> de tamaño par. ¿Qué hace el siguiente pro...

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

Supongamos que v es un vector<int> de tamaño par. ¿Qué hace el siguiente programa?

auto it = v.begin();

int half_size = v.size() / 2;

for (int i = 0; i < half_size; i++) {

*(it + half_size) = *it;

++it;

}

0%
0%
0%
More questions like this

Want instant access to all verified answers on cvex1.ucm.es?

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

Browser

Add to Chrome