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;
Sign in to answer questions and track your progress
Sign InWhat is the type of x after auto x = ref; where ref is an int&?
int val = 42;
int& ref = val;
auto x = ref;
Sign in to answer questions and track your progress
Sign In