fork download
  1. #include <iostream>
  2.  
  3. int main()
  4. {
  5. auto f = [](int a,int b){return!a+b;};
  6. int c = f(3, 4);
  7. std::cout << c << std::endl;
  8. return 0;
  9. }
  10.  
  11.  
  12.  
Success #stdin #stdout 0s 16064KB
stdin
Standard input is empty
stdout
4