What is lambda expression c++?



What is lambda expression c++?..

Answer / Gopal Bajpai

A lambda expression in C++ is an anonymous function that can be defined and used in the scope where it's created. It consists of a function body, captures (if any), and a parameter list.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

what are the iterator and generic algorithms.

1 Answers  


Define a conversion constructor?

1 Answers  


What is searching? Explain linear and binary search.

1 Answers  


What is the difference between Pointer and a Reference? When you would use them?

4 Answers   Wipro,


What is the difference between a template and a macro?

1 Answers  


What are the differences between public, private, and protected access?

12 Answers   IBM, Oracle, Wipro,


Is c++ proprietary?

1 Answers  


What are the methods of exporting a function from a dll?

1 Answers  


How do c++ struct differs from the c++ class?

1 Answers  


What is ostream in c++?

1 Answers  


What function initalizes variables in a class: a) Destructor b) Constitutor c) Constructor

1 Answers  


What is fflush c++?

1 Answers  


Categories