Q. What is the utility of: -


(i) Default arguments

(ii) Keyword arguments?


Answer =

(i)
A parameter having a default value in function header becomes optional in function call. Functions call may or may not have value for it.

(ii)
Keyword arguments are the named arguments with assigned values being passed in the function call statement.

21 Comments

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

  1. 💓💓💓

    ReplyDelete
    Replies
    1. 😊😊😊😊😊

      Delete
  2. how many people work in this web

    ReplyDelete
  3. really helpful, thanks a ton!

    ReplyDelete
  4. I recommend every question from this website :)

    ReplyDelete
  5. default argument is asked not default parameter

    ReplyDelete
  6. Make a guide for Preeti Arora book it helps the students in future...

    ReplyDelete

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post