What is the necessary condition to overload parameters type of a subprogram?
A. The base type of two parameters must be same
B. The parameters must have a different name
C. The parameters can’t be of integer type
D. The base type of two parameters must differ
Answer:D
What is the necessary condition to overload parameters type of a subprogram?
A. The base type of two parameters must be same B. The parameters must have a different name C. The parameters can’t be of integer type D. The base type of two parameters must differ