×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

Amongst which of the following shows the types of function calls in Python?

54. Amongst which of the following shows the types of function calls in Python?

  1. Call by value
  2. Call by reference
  3. Both A and B
  4. None of the mentioned above

Answer: C) Both A and B

Explanation:

Call by value and Call by reference are the types of function calls in Python.

  • Call by value - When, we call a function with the values i.e. to pass the variables (not their references), the values of the passing arguments cannot be changed inside the function.
  • Call by reference - When, we call a function with the reference/object, the values of the passing arguments can be changed inside the function.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.