Can someone, please, comment on the following curious fact that I encountered in C (actually, I use gcc, which has the default language Gnu C): If one writes
const int a=10;
const int b=a;
one gets an error indication at the declaration of b (not constant!). I would be particularly interested in knowing whether there is a way of getting around this (i.e. declaring a const with a previously declared const). I was actually surprised by this since, I think, C++ allows it.