Why doesn’t C++ have a power operator? [closed]
C++ does have a power operator—it’s written pow(x, y). Originally, C was designed with system software in mind, and there wasn’t much need for a power operator. (But it has bitwise operators, like & and |, which are absent in a lot of other languages.) There was some discussion of adding one during standardization of … Read more