fork download
  1. #include <iostream>
  2.  
  3. void func (int a, int b) {
  4. std::cout << a << " " << b << std::endl;
  5. }
  6.  
  7. void f () {
  8. void func (int = 0, int = 1);
  9. func ();
  10. }
  11.  
  12. void g () {
  13. void func (int = 9, int = 8);
  14. func ();
  15. }
  16.  
  17. int main () {
  18. f ();
  19. g ();
  20. }
Success #stdin #stdout 0s 3096KB
stdin
Standard input is empty
stdout
0 1
9 8