V
Q. Which of the following is the correct way to define a lambda function in C++?
The correct way to define a lambda function is 'auto myLambda = [](int x) { return x * x; };'.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. Find the false statement from the following
Q. Creating a new class using one or more existing classes is known as _______
Q. What is the output of the following C++ code?
Q. What is the output of the following code snippet? int x = 10; int y = 20; cout << (x / y);
Q. Choose the operator which cannot be overloaded.
Q. Example of___ is Float a [3] = {10.2, 33.4, 44.4}
Discusssion
Login to discuss.