

MCQOPTIONS
Saved Bookmarks
1. |
Which is the correct syntax of capturing a variable X by reference and other variable Y by value in lambda expression? |
A. | [&X, Y] |
B. | [X, &y] |
C. | [X, Y] |
D. | [&x, &Y] |
Answer» B. [X, &y] | |