What will the following lambda expression do? x -> x * 2

Last Updated :
Discuss
Comments

What will the following lambda expression do? x -> x * 2

Doubles the value of x

Prints the value of x

Doubles the value of x and prints it

Nothing

Share your thoughts in the comments