title: memory storage for constant data in c++
body: <p>As mentioned in the C++ Complete Reference, constant data are stored in ROM. But Local variables are stored inside the stack, which is in RAM. So if we declare local constant data, where is it stored? RAM or ROM?</p>