Embedded System Question:
Download Questions PDF

Explain Scope of static variables?

Answer:

Static variables can only be accesed in the files were they are declared.

Static variable within the scope of a function store it's values in consecutive calls of that function.

Static functions can only be caled within the file they are defined.

Download Embedded System Interview Questions And Answers PDF

Previous QuestionNext Question
Explain What happens when recursion functions are declared inline?Explain What is interrupt latency?