A variable that is declared with a static keyword is known as a static variable. The scope of static variables is accessible only in the block of the set where it is declared.

Suggested Papers: