Question: The code below seems to work and outputs "8 is greater than 5". However, what unexpected result will tell you it is not functioning properly?

  1. There will be no unexpected results. This script works as is and the output will be "8 is greater than 5".
  2. The comparison will not be able to handle floating-point numbers, as Bash only handles integers. So this example will output an error message if the value of $var is changed to "8.8".
  3. There will be a file in the current directory named 5.
  4. The variable $var is not quoted, which will lead to word splitting. This script will fail with a "unary operator expected" message if you change the value of

Answer: The correct answer of the above question is Option C:There will be a file in the current directory named 5.