

InterviewSolution
Saved Bookmarks
1. |
What is the default increment value in a for-loop?(a) 0(b) 1(c) An increment value is necessary(d) 0/1The question was posed to me in an internship interview.I need to ask this question from Loops in division Interacting with MATLAB of MATLAB |
Answer» RIGHT answer is (b) 1 Easiest explanation: When we are GOING to start a for loop in MATLAB, it is not necessary to assign a specific increment value. The default increment value will then be TAKEN as 1. |
|