Vidyalelo
Computer Science · Q260

Kotlin Programming MCQ for Competitive Exams, Interviews, and Certifications

Engineering and GATE · Computer Science · question 260

Q260

What is the output of the following code? fun main() val x = 5 val y = 10 println(x + y)

A.
10
B.
5
C.
15
Answer
D.
20

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board