overloading 205 B

123456789101112131415
  1. void test(int a, int b) {
  2. print a + 1;
  3. print b + 2;
  4. }
  5. void test(int a, int b, int c) {
  6. print a + 3;
  7. print b + 4;
  8. print c + 100;
  9. }
  10. void main() {
  11. test(1, 2);
  12. test(10, 20, 1);
  13. }