0

I have following program and shows the sum as 5.

int a = 1;
int main() {
auto f = [](int b) { return a + b; };
std::cout << f(4);

}

0 Answers0