Advertisement Remove all ads

Which Function(S) Out of the Following Can Be Considered As An Overloaded Function(S) in the Same Program? Also, Write the Reason for Not Considering the Other(S) as an Overloaded Function(S) - Computer Science (C++)

Which function(s) out of the following can be considered as an overloaded function(s) in the same program? Also, write the reason for not considering the other(s) as an overloaded function(s)

void Execute(char A,int B);    // Function 1

void Execute(int A,char B);    // Function 2

void Execute(int P=10) ;       // Function 3

void Execute();                    // Function 4

int Execute(int A);               // Function 5

void Execute(int &K);          // Function 6

Advertisement Remove all ads


void Execute (char A, int B) ;    // Function 1

void Execute (int A, char B) ;   // Function 2

void Execute (int P=10) ;        // Function 3

Concept: Overloaded Constructors
  Is there an error in this question or solution?
Advertisement Remove all ads
Advertisement Remove all ads
Advertisement Remove all ads

View all notifications

      Forgot password?
View in app×