Vidyalelo
Computer Science · Q247

Kotlin Programming MCQ for Competitive Exams, Interviews, and Certifications

Engineering and GATE · Computer Science · question 247

Q247

What does this code do? foo()()

A.
Call foo asynchronously
B.
Fails compilation
C.
Calls a function which is returned by the call of foo
Answer
D.
Creates a two-dimensional array

Answer: Option C

Solution

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