Static variables are the variables which retain their values between the function calls. They are initialized only once their scope is within the function in which they are defined.