1.

Every pattern in case statement in terminated with a _____(a) ;(b) :(c) ;;(d) //I have been asked this question by my college director while I was bunking the class.This interesting question is from Case and Expr Command topic in portion Essential Shell Programming of Unix

Answer»

The correct answer is (c) ;;

To elaborate: case STATEMENT MATCHES an expression for more than ONE ALTERNATIVE. Every pattern in the case statement is TERMINATED with a ;; .



Discussion

No Comment Found

Related InterviewSolutions