Which is correct?
int *x;
int* x;
int * x;
Which is correct?
Nathaniel Gutierrez
Elijah Ward
int *x
Adam Barnes
let x: number;
Lucas Thompson
The type is integer pointer so you would group the type together. int* x.
Nathaniel Kelly
The type is "int pointer" so it should be int*
Anything else makes no sense.
Isaiah Diaz
Not using C or C++ is the correct choice.
Noah Richardson
wrong example.
try this
int *x,y,z;
int* x,y,z;
int * x,y,z;
Carson Edwards
wrong example.
try this
int *x,y,z;
int* x,y,z;
int * x,y,z;
David Roberts
which can become even more confusing
int* *x,*y,&z;
type*
or
type&
is the dumbest way i've seen that people declare vars.
David Adams
>not using go
var x *int