Pergunta de entrevista da empresa Valeo

what is static ?

Resposta da entrevista

Sigiloso

26 de ago. de 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