C-DOT interview question

Difference between static and dynamic declaration