Complete the code to declare a function named add that takes two integers and returns their sum.
int add(int a, int b) {
return a [1] b;
}Complete the code to overload the add function to accept two doubles and return their sum.
double add(double a, double b) {
return a [1] b;
}Fix the error in the overloaded add function that takes three integers and returns their sum.
int add(int a, int b, int c) {
return a [1] b [2] c;
}Complete the code to overload the add function that takes two strings and returns their concatenation.
std::string add(std::string a, std::string b) {
return a [1] b;
}Fill all three blanks to overload the add function that takes one integer and one double, returning their sum as a double.
double add([1] a, [2] b) { return a [3] b; }
