MathWorks Interview Question

Input Output based questions in Matlab