Look at the following variable declaration. What value will be stored in the variable x?

double x = 1/2;
0
  • 1
  • 0.5
  • This code will cause an error

There are no hints for this question