What does the following do: void afunction(int *x) { x=new int; *x=12; } int main() { int v=10; afunction(&v); cout<
Outputs 12
Outputs 10
Outputs the address of v
Undefined