CBSE Class 12 Computer Science
Question 34 of 103
Working with Functions — Question 10
Back to all questionstest(1, 2, 3, 4)
test(a = 1, b = 2, c = 3, d = 4)
Reason —
- The function call
test(1, 2, 3, 4)passes four positional arguments 1, 2, 3, and 4 to the function. - The function call
test(a = 1, b = 2, c = 3, d = 4)passes four keyword arguments, explicitly stating the parameter names (a, b, c, d) and their corresponding values.