Google News
logo
CPP - Quiz(MCQ)
What is lambda expression in C++?
A)
A technique of C++ that allows us to write overloaded functions
B)
A technique of C++ that allows us to write inline functions without a name
C)
A technique of C++ that allows us to write functions without parameters
D)
A technique of C++ that allows us to write functions that are called more than once

Correct Answer :   A technique of C++ that allows us to write inline functions without a name


Explanation : Lambda expression is a technique available in C++ that helps the programmer to write inline functions that will be used once in a program and so there is no need of providing names top them. Hence they are a type of inline functions without names.

Advertisement