Subject not found.
1.

What Is Lambda Function?

Answer»

A Lambda function is a concise mechanism to represent functions. These functions are known as Arrow functions.

Example:

VOID main() {

printMsg();

PRINT(test());

}

printMsg()=>

print("hello");

INT test()=>123;

// RETURNING function

A Lambda function is a concise mechanism to represent functions. These functions are known as Arrow functions.

Example:

void main() {

printMsg();

print(test());

}

printMsg()=>

print("hello");

int test()=>123;

// returning function



Discussion

No Comment Found