Which programming language is this?
std::sort(v.begin(), v.end(),
[](int a, int b) { return a > b; });
Answer: C++
std::sort with begin()/end() iterators and a lambda is C++.
Play Programming Languages ▸
std::sort(v.begin(), v.end(),
[](int a, int b) { return a > b; });
Answer: C++