Multiple choice technology databases

In Program overloading, You have two procedures with same name. which of the following will not work

  1. Having the data type different

  2. Just interchange the input parameter

  3. having the name diffferent

  4. both a & b

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In program overloading, procedures are distinguished by their parameter signatures (number, order, and data types). Simply interchanging parameter positions doesn't create a unique signature - 'proc(a,b)' and 'proc(b,a)' where both are the same data type are ambiguous. You need different data types, counts, or names.