✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Яким буде вивід програми, текст якої подано нижче:
#include <iostream>class CData {public: static size_t GetCount() { return m_count; } static void IncrementCountBy(size_t value) { m_count += value; }private: static size_t m_count;};size_t CData::m_count = 0;int main(){ CData firstObject; firstObject.IncrementCountBy(5); CData secondObject; secondObject.IncrementCountBy(10); std::cout << CData::GetCount() << '\n'; return 0;}