1.

If the command, given as an input to the system command, gets executed, MATLAB returns a _________(a) 0(b) 1(c) True(d) FalseThis question was addressed to me during an interview.My doubt stems from System Commands topic in section Advanced Software Development of MATLAB

Answer»

Right choice is (a) 0

The best explanation: This the default return value of the system COMMAND. It will return a 0 if the command GETS successfully executed. If not, it’ll return 1 and HENCE, only MATLAB will only return a 0.



Discussion

No Comment Found

Related InterviewSolutions