Default Parameters and Function Overloading (Contd.) (Lecture 13)

Поделиться
HTML-код
  • Опубликовано: 29 дек 2024

Комментарии • 2

  • @hemareddymuppidi4697
    @hemareddymuppidi4697 5 лет назад +1

    but area of the square can be mistaken as default parameters for area of rectangle,right?
    pls clarify my doubt...!

    • @pidgeBgg
      @pidgeBgg 5 лет назад +1

      no that's not possible as parameters for both functions haven't been defaulted at the time of function declaration.