What is utility of:
(i) default argument
(ii) keyword argument

Default Argument: It is a Parameter initialized with default value in function header or definition. It is useful when
• Matching arguments are not passed in the function call statement
• Some argument always have same value.

Keyword Argument: Also known as named arguments. A value being passed during function call with specified name is called Keyword argument. It is useful when
• Any argument can be taken or passed in any order during function call.

 

 

error: Content is protected !!
Scroll to Top