1.

case can also be used for matching multiple patterns.(a) True(b) FalseI had been asked this question at a job interview.The question is from Case and Expr Command in portion Essential Shell Programming of Unix

Answer»

The correct CHOICE is (a) True

To explain: CASE statement can also specify the same action for more than one pattern. Suppose, a PROGRAMMER wants to develop a logic for both Y or y (or N or n), then he/she can MAKE use of the case statement in the following MANNER:



Discussion

No Comment Found

Related InterviewSolutions