

InterviewSolution
Saved Bookmarks
1. |
Choose the correct hierarchy of operations.(a) |,&,+,-(b) +,-,&,|(c) :,+,-,&(d) |,:,&,.^The question was posed to me in exam.The above asked question is from Logical Expressions in section MATLAB Programming of MATLAB |
Answer» RIGHT option is (b) +,-,&,| To elaborate: AMONGST the given OPERATORS, the HIERARCHY is [.^], [+], [-], [:], [&], [|]. Hence, the only POSSIBLE option is +,-,&,|. The rest are erroneous according to the pre-defined hierarchy in MATLAB. |
|