1.

What is the output of this program?
#include 
using namespace std;
int function(int N, int M, int O)
{
return N + M;
}
double function(double N, double M, double O)
{
return N + M;
}
int main()
{
cout << function(7, 16);
cout << function(15.05, 61.16);
return 0;
}

A. 7
B. 16
C. 15.05
D. 61.15
E. Compilation Error
Answer» F.


Discussion

No Comment Found