Question: What's wrong with this code?

  1. Nothing is wrong with this code.
  2. Declarations do not need semicolons.
  3. x=5 is an invalid float.
  4. Variables can't be declared and initialized in the same state.

Answer: The correct answer of the above question is Option A:Nothing is wrong with this code.