Vidyalelo
Computer Science · Q889

Linux

Engineering and GATE · Computer Science · question 889

Q889

What is the output of this program? #!/bin/bash hello_var=10 echo "the value of \"hello_var\" is hello_var" exit 0

A.
the value of "hello_var" is 10
Answer
B.
the value of is 10
C.
the value of hello_var is $hello_var
D.
the value of "hello_var" is $hello_var

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board