InterviewSolution
Saved Bookmarks
| 1. |
Which of the following loop statements uses do and done keyword?(a) for(b) while(c) case(d) for and whileThe question was asked during an online interview.Enquiry is from Shell Programming using Various Commands topic in section Essential Shell Programming of Unix |
|
Answer» RIGHT answer is (d) for and while Explanation: Like while LOOP, for also uses the KEYWORDS do and DONE, but the additional parameters used in for are variables and list. |
|