What will be the output of this program when it is executed?…
What will be the output of this program when it is executed? #include double add(double x, double y) { return x + y; }double subtract(double x, double y) { return x – y; }int main() { double (operations)(double, double) = {add, subtract}; double result1 = operations(10.5, 5); double result2 = operations(10.5, 5); std::cout