What is the necessary condition to overload parameters type of a subprogram?
What is the necessary condition to overload parameters type of a subprogram? Correct Answer The base type of two parameters must differ
To overload argument types, the base type of parameters of two functions must be different. For example, base types do not differ when two subtypes are of the same type, in that case compiler will return an error.
মোঃ আরিফুল ইসলাম
Feb 20, 2025