Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When you write a program, for example:

const int value = 5 // note, this what we write in C or C++
                    // to declare a constant variable

Does the computer use ROM as storage to place this data when you run your program? I've only heard that it the RAM that is always used. but what data does ROM stores in it?

share|improve this question

closed as off topic by random Sep 29 '11 at 2:07

Questions on Super User are expected to relate to computer software or computer hardware within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
In PCs, the only "ROM" is probably the BIOS chip -- and even that is rewritable these days. –  grawity Sep 29 '11 at 11:51

Browse other questions tagged or ask your own question.