Swift - Data Types
What will be the output of this Swift code?
let x: Int = 5 let y: Double = 3.0 let result = Double(x) + y print(result)
What will be the output of this Swift code?
let x: Int = 5 let y: Double = 3.0 let result = Double(x) + y print(result)
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions