Embedded System Question:

Explain Scope of static variables?

Tweet Share WhatsApp

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 PDF Read All 21 Embedded System Questions
Previous QuestionNext Question
Explain What happens when recursion functions are declared inline?Explain What is interrupt latency?