What are default arguments?

What are default arguments?
A. Arguments which are not mandatory to be passed
B. Arguments with default value that aren’t mandatory to be passed
C. Arguments which are not passed to functions
D. Arguments which always take same data value
 
Answer: b
Explanation: The arguments which are assigned with some default value. Since some value is already given, it is not mandatory to pass those arguments. They can be used directly.
 

Tìm kiếm

Back
Top