fork(1) download
  1. #include <iostream>
  2.  
  3. void foo(int a, int b = 23) {
  4. std::cout << a << " " << b << std::endl;
  5. }
  6.  
  7. int main( int argc, char** argv ) {
  8. auto g = [] (){ foo( 23 ); };
  9. g();
  10. }
Success #stdin #stdout 0s 2828KB
stdin
Standard input is empty
stdout
23 23