reference variables

here in the following code reference variable is declared.

int x=1;
int &y=x;


since reference variable y is alias to x,why it is not
int &y=&x;
Why does C use {} for structure and [] for offsets and not the other way around? There's no reason; syntax is arbitrary.
Topic archived. No new replies allowed.