coderz.py

Keep Coding Keep Cheering!

Mutable keyword in C++

Mutable data members are those whose values can be changed in runtime even if the object’s type is constant. It is the polar opposite of constant. It is sometimes necessary to modify one or more data members of a class or struct using a const function, even if you do not want the function to […]

October 16, 2022 | C++ | No comments

Storage classes in C++

Storage classes in C++ are type specifiers that aid in defining the lifetime and visibility of variables and functions within a C++ program. C++ storage classes aid in determining the existence of a specific variable or function during the execution of a program. Syntax:  Types of storage classes: Five different kinds of storage classes can […]

October 1, 2022 | C++ | No comments

Advertisement