Give the overloaded function declarations for the function named in examination with the following descriptions
1) Takes an integer array as an argument and returns a string.
2) Takes a float variable and a string aa an argument but does not return any value
3) Returns a double and takes two double arguments and one character argument whose default value '*'.
Answers
Answered by
7
1)String <name of function>(int n)
2)void <name of function>(float f, String s)
3)double <name of function>(double a, double b, char ch)
2)void <name of function>(float f, String s)
3)double <name of function>(double a, double b, char ch)
Answered by
0
The variable name is given as examination
Similar questions