TCS
Company
Programming
Technical
If the user does not pass value to argument, what is the value of arguments provided at the time of function declaration that are automatically assign by the compiler called?
A. Pass by value argument
B. Pass by reference argument
C. Default argument
D. User defined argument
Read Solution (Total 4)
-
- C. Default argument
when the user does not pass any value to argument, System takes it own argument. - 3 years agoHelpfull: Yes(0) No(0)
- Answer: C
A Default argument is a value provided in a function declaration that is automatically assigned by the compiler if the caller of the function doesn't provide a value for the argument with a default value. - 3 years agoHelpfull: Yes(0) No(0)
- If we not pass value to function the default value takes place.
- 2 years agoHelpfull: Yes(0) No(0)
- Default argument
- 1 year agoHelpfull: Yes(0) No(0)
TCS Other Question