Functions - Programming

Q1:

Which of the following statement is correct about the program given below?
#include<iostream.h>
const double AptitudeConstant(const int, const int = 0);
int main()
{
    const int c = 2 ;
    cout<< AptitudeConstant(c, 10)<< ' '; 
    cout<< AptitudeConstant(c, 20)<< endl; 
    return 0;
}
const double AptitudeConstant(const int x, const int y)
{
    return( (y + (y * x) * x % y) * 0.2);
}

A The program will print the output 2 4.

B The program will print the output 20 40.

C The program will print the output 10 20.

D The program will print the output 20 4.50.

E The program will report compile time error.

ANS:A - The program will print the output 2 4.

No answer description is available. Let's discuss.