Computer Science, asked by misssakshi45191, 1 year ago

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 choudhary21
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
Answered by afruja70
0
Hello mate

here's your answer

¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤

Option C ✔✔


when the parameter is being declared as passed by reference.

¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤

Hope it helps you
Similar questions