Banner 0
Banner 1
Banner 2
Banner 3
Banner 4
Banner 5
Banner 6
Banner 7
Banner 8
Banner 9

Q.

The data who value does not change or remains fixed is called _____________.

see full answer

Your Exam Success, Personally Taken Care Of

1:1 expert mentors customize learning to your strength and weaknesses – so you score higher in school , IIT JEE and NEET entrance exams.
An Intiative by Sri Chaitanya

a

Constant

b

Variable

c

All of the above

d

Fixed

answer is A.

(Unlock A.I Detailed Solution for FREE)

Best Courses for You

JEE

JEE

NEET

NEET

Foundation JEE

Foundation JEE

Foundation NEET

Foundation NEET

CBSE

CBSE

Detailed Solution

Constant

Explanation:

Definition: A constant is a data item whose value does not change during the program's execution; it remains fixed and unaltered. This is in contrast to a variable, which can have its value modified during program execution.

Characteristics of Constants:

  • Immutable: Once defined, the value cannot be changed.
  • Enhances code readability and maintainability by providing meaningful names to fixed values.
  • Allows for compile-time and run-time checks to ensure constancy assumptions are not violated.

Conclusion: In programming, a constant is a value which does not change during the execution of a program. It is essential for defining fixed values that should remain unaltered, enhancing code reliability and readability.

Watch 3-min video & get full concept clarity
score_test_img

courses

No courses found

Ready to Test Your Skills?

Check your Performance Today with our Free Mock Test used by Toppers!

Take Free Test

Get Expert Academic Guidance – Connect with a Counselor Today!

best study material, now at your finger tips!

  • promsvg

    live classes

  • promsvg

    progress tracking

  • promsvg

    24x7 mentored guidance

  • promsvg

    study plan analysis

download the app

gplay
mentor

Download the App

gplay
whats app icon
personalised 1:1 online tutoring