A static variable is defined within a function only the first time, and its value can be modified during function calls as follows:
A static variable is defined within a function only the first time, and its value can be modified during function calls as follows: