Important MCQ

By convention constant names are written in

Q.By convention constant names are written in

A) UPPERCASE
B) symbols
C) lowercase
D) mixed random case
Correct Answer:
Option A
Detailed Explanation:
A) UPPERCASE 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.