logo

Crowdly

Що буде виведено в результаті виконання коду? Введіть відповідь точно так, як її...

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

Що буде виведено в результаті виконання коду?

Введіть відповідь точно так, як її виведе програма, без додаткових пробілів.

#include <iostream>

#include <stack>

#include <queue>

#include <vector>

#include <functional>

#include <string>

using namespace std;

int main(){

stack<int> s; s.push(1); s.push(2); s.pop(); cout<<s.top();

return 0;

}

More questions like this

Want instant access to all verified answers on e-learning.lnu.edu.ua?

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