Sep 6, 2014 at 5:18am
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;
Sep 6, 2014 at 5:43am
Why does C use {} for structure and [] for offsets and not the other way around? There's no reason; syntax is arbitrary.