C++ Programming Tips

C++ Programming Tips

const specifies the semantic constraint of “not modifiable”. It can modify various variables to be constants; when modifying a pointer, appearing on the left side of * indicates that the pointed object is constant, while appearing on the right side indicates that the pointer itself is constant. However, const is more commonly used in function … Read more