1.

clc in a function will clear the function.(a) True(b) FalseI got this question in an interview for internship.My query is from Suppressing Output in section Beyond the Basics of MATLAB

Answer» CORRECT choice is (b) False

The EXPLANATION is: Suppose we have the CLC command at the end of an M-file. The purpose of clc command is to CLEAR the command WINDOW. So when we call the function, it will clear the command window but the function will not be cleared.


Discussion

No Comment Found

Related InterviewSolutions