Eaton Interview Question

what is static keyword for

Interview Answer

Anonymous

Jul 25, 2017

static keyword depends on the scope. If it's for a global variable it changes the scope to file scope only, if it's withing a function it changes the lifetime of the variable