Asked by Lisbeth Molina on Jun 18, 2024
Verified
A pointer constant is equivalent to a symbolic constant, in that the address stored in the pointer constant cannot be changed once it is set.
Pointer Constant
A constant pointer in programming indicates an address in memory whose value cannot be altered through the pointer.
Symbolic Constant
A constant that is represented by a name in source code, making the code more readable.
Address
An address in computing refers to a specific location in memory where data is stored.
- Understand the concept of pointer constants and their immutability.
Verified Answer
GS
Gourav SabharwalJun 19, 2024
Final Answer :
True
Explanation :
A pointer constant, once initialized with an address, cannot have its address changed, similar to how a symbolic constant's value cannot be changed once it is set. This immutability of the address in a pointer constant is what makes the comparison valid.
Learning Objectives
- Understand the concept of pointer constants and their immutability.