What will be the output of the following program?

		
					

Loading

โœช Choose the correct option.

What will be the output of the following program?

#include 
long GetNumber(long int Number) {
return --Number;
}
float GetNumber(int Number) {
return ++Number;
}
int main() {
int x = 20;
int y = 30;
cout<< GetNumber(x) << " ";
cout<< GetNumber(y) ;
return 0;
}

A. 19 31
B. 20 30
C. 21 31
D. 21 29