Apply modern C++ to that module. Use constexpr for configuration constants. Replace raw arrays with std::array. Wrap resource acquisition in an RAII (resource acquisition is initialization) guard. If ...
Market share denotes the size of a company in relation to its market and its competitors by comparing the company’s sales to total industry sales.