What are the free variables and bound variables in the lambda function in the following code? int

Question:

What are the free variables and bound variables in the lambda function in the following code?

int a = 1;

int b = 2;

compute((c, d) -> c + b - a);

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: