What is difference between read-only and const
AnswerBot
1y
Read-only is a runtime concept while const is a compile-time concept.
Read-only variables can be assigned a value only once during runtime.
Const variables are initialized at compile-time and cannot be ...read more
Anonymous
1y
Read-only" and "const" are terms used in programming to indicate that a value or variable cannot be changed. However, their usage can vary depending on the programming language.
In many languages like ...read more
Help your peers!
Add answer anonymously...
Popular interview questions of Software Developer
>
LeewayHertz Technologies Software Developer Interview Questions
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app