1.

Which of the following operator is used to capture all the external variable by value?(a) &(b) =(c) *(d) &&I have been asked this question in unit test.I want to ask this question from Lambda Expressions in chapter C++ Advanced of C++

Answer»

Correct answer is (b) =

Explanation: The LAMBDA EXPRESSION USES = operator to capture the external VARIABLE by VALUE.



Discussion

No Comment Found

Related InterviewSolutions