1.

Choose the correct option as an inference from the following workspace view.(a) ‘ans’, ‘p’ and ‘ap’ are double variables(b) ‘ans’ and ‘p’ are double variables while ‘c’ is a character variable(c) ‘ap’ is symbolic object, ‘c’ is a double variable(d) ‘c’ is a symbolic characterI had been asked this question by my college director while I was bunking the class.This interesting question is from Managing Variables topic in section MATLAB Basics of MATLAB

Answer» CORRECT answer is (b) ‘ans’ and ‘P’ are DOUBLE variables while ‘c’ is a character variable

For EXPLANATION I would SAY: It is to be noted that ‘ans’ and ‘p’ are double integer variables, ‘c’ is a character variable while ‘ap’ is a symbolic object.


Discussion

No Comment Found

Related InterviewSolutions