8.3 — Numeric conversions

In the previous lesson (), we covered numeric promotions, which are conversions of specific narrower numeric types to wider numeric types (typically int or double) that can be processed efficiently. C++ supports another category of numeric type conversions, called , that cover additional type conversions not covered by the numeric …

7.13 — Code coverage

In the previous lesson , we discussed how to write and preserve simple tests. In this lesson, we’ll talk about what kind of tests are useful to write to ensure your code is correct. The term is used to describe how much of the source code of a program is …