1.

A user wants to perform a different operation on an array type and the function can be overloaded but the parameter is of same base type. How to do the same by using a single function?

A. By using conditional statement with ‘LENGTH attribute
B. By using loop statement with ‘LENGTH attribute
C. By using unconstrained array in parameters
D. It can’t be done by using single function
Answer» B. By using loop statement with ‘LENGTH attribute


Discussion

No Comment Found