Static Variables
Static variables have the similar scope s automatic variables, but, unlike automatic variables, static variables retain their values over number of function calls. The life of a static variable starts, when the first time the function in which it is declared, is implemented and it remains in existence, till the program terminates. They are declared with the keyword static.