1.

Which of the following symbol is used for negating the character class?(a) .(b) *(c) !(d) %I had been asked this question in a job interview.This key question is from Pattern Matching, Escaping and Quoting in chapter The Shell of Unix

Answer»

Right ANSWER is (c) !

Explanation: We can use the ! as the FIRST symbol for NEGATING the CHARACTER CLASS. For example,



Discussion

No Comment Found

Related InterviewSolutions