Topic Wise Solved Problems Question – Computer Sir Ki Class


Lost your password?

Don't have an account ?
Register (It's FREE) ×

CPP All :Topicwise Exam Questions: function-overloading-varieties siteicon
Function overloading identification 2

Which function(s) out of the following can be considered as overloaded function(s) in the same program? Also, write the reason for not considering the other(s) as 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