static variablesstatic variables have the similar


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.

 

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: static variablesstatic variables have the similar
Reference No:- TGS0309225

Expected delivery within 24 Hours