Cpp Output Array Matlab Simulink Interview