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

Поділитися
Вставка
  • Опубліковано 22 жов 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.