Concept
What happens when you reassign a const variable in C?
ComputerScienceOne / Operators
"15. Basics 1 const int secret = 42; 2 const double salesTaxRate = 0.075; Any attempt to reassign the values of const variables will result in a compiler error."
Related Ideas
- How do you declare variables in C?ComputerScienceOne · Declaration & Assignment
- What primitive types does C support?ComputerScienceOne · Declaration & Assignment
- How does Java handle arithmetic with wrapper classes?ComputerScienceOne · Operators
- How can strings be created and assigned to variables?ComputerScienceOne · Basic Operations
- How are variables declared and assigned in Java?ComputerScienceOne · Declaration & Assignment