1.

The correct hierarchy of operations is ________(a) =,&,|(c) =,|,&(d) ,&This question was posed to me in an interview for internship.This interesting question is from Logical Expressions in division MATLAB Programming of MATLAB

Answer»

Correct answer is (b) >,>=,&,|

Explanation: Amongst the given operators, the correct HIERARCHY is <, <=, >, >=, &, |. Thus the most plausible >,>=,&,| according to the pre-defined hierarchy of OPERATIONS in MATLAB.



Discussion

No Comment Found

Related InterviewSolutions