Interview Question

Senior Software Engineer Interview Bangalore (India)

what is static in C

Answer

Interview Answer

1 Answer

0

If variable variable is declared as Static then its Life-Time-Validity as long as the program itself. It gets a memory location that is available all the time and value retains even if function is called again.

Pervez Alam on Aug 2, 2011

Add Answers or Comments

To comment on this question, Sign In with Facebook or Sign Up