12th Class Computers Science Sample Paper Functions - Sample Paper - 2

  • question_answer
    Which of the following function headers is correct.

    A) def study(a=2,b=5,c):   

    B) def study(a=2,b,c=5):

    C) def study(a, b=2,c=5): 

    D) none of the above

    Correct Answer: C

    Solution :

    [c] def study(a, b=2,c=5):- default argument always follow the non-default arguments.


You need to login to perform this action.
You will be redirected in 3 sec spinner