What is the output of the following code? [code]length{ 1 2 }[/code]

Answer: c
Explanation: The input to the length function has to be within a parentheses. We don’t see the parentheses here, and we’ll find that this leads to an error in MATLAB.
 

Tìm kiếm

Back
Top