What will be the output of the following program?

		
					

Loading

โœช Choose the correct option.

What will be the output of the following program?

#include  
class PowerFinder {
public:
void Power(int x = 1, int y = 1) {
int P = 1, i = 1;
while(++i <= y) {
P *= x;
}
cout<< P << endl;
}
};
int main() {
PowerFinder FP;
FP.Power(2, 6);
return 0;
}

A. 12
B. 16
C. 32
D. 36