

InterviewSolution
Saved Bookmarks
1. |
How do we access a global variable in nested functions?(a) Simply seek the variable from the primary function(b) Make a copy of the global variables from the primary function(c) Declare the variable within the function(d) Declare the variable as globalI got this question in exam.Question is taken from Functions topic in portion MATLAB Basics of MATLAB |
Answer» Right choice is (d) DECLARE the VARIABLE as global |
|