Question: What is wrong with this code?
- You cannot assign a Double to a variable of type Int
- x is undefined
- x is a constant
- x has no type
Answer: The correct answer of the above question is Option A:You cannot assign a Double to a variable of type Int