auto

What is the type of x after auto x = ref; where ref is an int&?

int val = 42;
int& ref = val;
auto x = ref;
A

const int&

B

int&

C

int

D

const int