I don't like the above as I want to transfer the address of y into pointer variable (ptr) and NOT into *ptr. So, I prefer:
byte *ptr;
ptr = &y;
Regardless of the position of * between type and variable, the compiler smatly glues it with variable. Accordingly, the following are the same:
byte* ptr;
byte *ptr;
byte * ptr;