1.

How are variable length arguments specified in the function heading?(a) one star followed by a valid identifier(b) one underscore followed by a valid identifier(c) two stars followed by a valid identifier(d) two underscores followed by a valid identifierThe question was asked by my college professor while I was bunking the class.This intriguing question comes from Argument Parsing 2 in portion Argument Passing, Global vs Local Variables, Shallow copy vs Deep copy and Recursion of Python

Answer» CORRECT option is (a) ONE star FOLLOWED by a VALID identifier

The best I can EXPLAIN: Refer documentation.


Discussion

No Comment Found

Related InterviewSolutions