a) [&X, Y]
b) [X, &y]
c) [X, Y]
d) [&x, &Y]
Which is the correct syntax of capturing a variable ‘X’ by reference and other variable ‘Y’ by value in lambda expressio
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Which is the correct syntax of capturing a variable ‘X’ by reference and other variable ‘Y’ by value in lambda expressio
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!