Two Questions about c++ lambda functions. [Must Read]

Правка en2, от Boring_Day, 2022-10-06 06:58:39

So today i was learning about c++ lambda functions. and i have some doubts.

Q.1) See this

why the output is 2?

Q.2) another question

Spoiler

tell me

Теги question, c++, lambda, important

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский Boring_Day 2022-10-06 09:47:31 225
en2 Английский Boring_Day 2022-10-06 06:58:39 38
en1 Английский Boring_Day 2022-10-06 06:55:35 889 Initial revision (published)