Under what circumstance is it impossible to assign a default value to a parameter while declaring a function?
A.When the parameter is Boolean
B.When the function is being declared as a member of a class
C.When the parameter is being declared as passed by reference
D.When the function contains only one parameter
Answers
Answered by
0
C. When the parameter is being declared as passed by reference✔✔
parameter is declared as being passed by reference you cannot specify a default value for it, since the interpreter will expect a variable that can be modified from within the function itself.
By Choudhary21
parameter is declared as being passed by reference you cannot specify a default value for it, since the interpreter will expect a variable that can be modified from within the function itself.
By Choudhary21
Answered by
0
Hello mate
here's your answer
¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
Option C ✔✔
when the parameter is being declared as passed by reference.
¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
Hope it helps you
here's your answer
¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
Option C ✔✔
when the parameter is being declared as passed by reference.
¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
Hope it helps you
Similar questions
Computer Science,
7 months ago
Science,
7 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Math,
1 year ago
Math,
1 year ago