执行下面程序后输出为( )。 int x = 3; void f(int& x){ x += 2; } int main(){ int x = 10; f(x); cout << x << " " << ::x; } A. 12 3 B. 10 5 C. 12 5 D. 10 3