Embedded System Question:
Download Job Interview Questions and Answers 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.
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 Question | Next Question |
Explain What happens when recursion functions are declared inline? | Explain What is interrupt latency? |