CBSE Class 12 Computer Science
Question 35 of 103
Working with Functions — Question 11
Back to all questionstest(a = 1, 2, 3, 4)
test(a = 1, b = 2, c = 3, 4)
Reason — In both of these function call test(a = 1, 2, 3, 4) and test(a = 1, b = 2, c = 3, 4), the syntax is incorrect because when using keyword arguments, all arguments following the first one must also be specified with keyword arguments.