What is the primary difference between a variable and a named constant in C++?

What will be an ideal response?

A variable is a memory location whose value can change (vary) during runtime.  A named constant is a memory location whose value cannot be changed during runtime.

Computer Science & Information Technology

You might also like to view...

A ________ graphic is a designer-quality visual representation of information that can be used to communicate a message or ideas effectively

A) WordArt B) SmartArt C) Photo Album D) Clip Art

Computer Science & Information Technology

What is true about double-sided memory?

A) It is proprietary. B) It is also called DSO-DIMMs. C) They are different from memory modules used in desktop models. D) It allows more memory to be installed in fewer slots.

Computer Science & Information Technology