1.

Suppose x =10, then what will be the value of x$x$?(a) undefined(b) erroneous(c) 100(d) x10$I had been asked this question by my school principal while I was bunking the class.The query is from Shell Programming using Various Commands topic in portion Essential Shell Programming of Unix

Answer»

Right choice is (d) x10$

Easiest explanation: Since x CONTAINS the value 10, and $ symbol is USED with any variable for DISPLAYING its value. So $x will display 10. Hence the OUTPUT will be x10$.



Discussion

No Comment Found

Related InterviewSolutions