Topic Wise SP Question Print – Computer Sir Ki Class


Lost your password?

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

CPP: Topicwise Exam Question: function-overloading-varieties
Q.1  02A  
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