Which is correct?

Which is correct?
int *x;
int* x;
int * x;

Attached: lp.jpg (800x600, 81K)

int *x

let x: number;

The type is integer pointer so you would group the type together. int* x.

The type is "int pointer" so it should be int*

Anything else makes no sense.

Not using C or C++ is the correct choice.

wrong example.
try this

int *x,y,z;
int* x,y,z;
int * x,y,z;

wrong example.
try this
int *x,y,z;
int* x,y,z;
int * x,y,z;

which can become even more confusing
int* *x,*y,&z;

type*
or
type&
is the dumbest way i've seen that people declare vars.

>not using go
var x *int