Transcribed Image Text: Q6: Write a program in C++ that contains overloaded functions with name OvOperation()

Transcribed Image Text: Q6: Write a program in C++ that contains overloaded functions with name OvOperation(). When the main
program makes a call to OvOperation the program performs the following according to the arguments
of the function call:
• OvOperation(): returns an int 0.
• OvOperation(float, float) returns the maximum between the arguments.
• OvOperation(int, int, int) returns the minimum value among the arguments.
OvOperation(char) return the next ASCII character (e.g. OpOperation(‘a’) returns ‘b’).
int main ()
cout << Opoperation ( 'w' )<< endl << Opoperation () « endl; cout << OpOperation (1.1,0.5) << endl << Opoperation (4,-2,9); return 0;

-25-


Buy plagiarism free, original and professional custom paper online now at a cheaper price. Submit your order proudly with us



Essay Hope