✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Який буде вивід програми, текст якої подано нижче:
#include <iostream>class CDemo{public: CDemo() { std::cout << "Constructor\n"; } ~CDemo() noexcept { std::cout << "Destructor\n"; }};CDemo globalObject;int main(){ std::cout << "main\n"; return 0;}