nerdexam
Oracle

1Z0-409 · Question #189

Observe the code given below: a=5.56 b=4.32 c=echo $a + $b | bc echo "$a + $b = $c" echo " Final Output is $c" What would be the final output of this code?

The correct answer is D. 9.88. See the full explanation below for the reasoning.

Question

Observe the code given below:

a=5.56 b=4.32 c=echo $a + $b | bc echo "$a + $b = $c" echo " Final Output is $c" What would be the final output of this code?

Options

  • A9
  • B9.8
  • C9.9
  • D9.88

How the community answered

(33 responses)
  • A
    12% (4)
  • B
    6% (2)
  • C
    3% (1)
  • D
    79% (26)

Community Discussion

No community discussion yet for this question.

Full 1Z0-409 Practice