Important MCQ

A constant is a value that

Q.A constant is a value that

A) cannot change during execution
B) is a variable
C) can change anytime
D) is a loop
Correct Answer:
Option A
Detailed Explanation:
A) cannot change during execution is correct. A constant has a fixed value. const variables must be initialized when declared and cannot be reassigned; #define is a preprocessor directive and has no trailing semicolon.