MathWorks Interview Question

Static variables and code snippet to debug.