Recently I participated Eureka iit Bombay competition got selected and pitched in Zonal round . Waiting for result. But I Need investors . How to get it.
Question: What is the output of the following Kotlin code snippet?
fun main() {
val list = mutableListOf(1, 2, 3, 4, 5)
val result = list.fold(5) { acc, num -> acc * num }
println(result)
}