I wonder whether the reference variables such as c in this code:
c
int a = 5; int & c = a;
are allocated from heap or stack.
Most compilers consider references as restricted pointers.