Question d’entretien chez Valeo

what is static ?

Réponse à la question d'entretien

Utilisateur anonyme

26 août 2017

Static is a storage class in c. Features of storage classes; tells us the scope ,visibility and lifetime of the variable/function . If a variable inside a function or a block is declared as static, it can be used only in that particular block. In brief it restricts the access from outside the function. Thank you