define constant with an example
Answers
Answered by
17
Heya there!!
=> Constants or literals refer to fixed values that do not change during the execution of the program.
For example,
a = 5 ;
Here, 5 is a constant because its value cannot be changed.
Hope it helps you
=> Constants or literals refer to fixed values that do not change during the execution of the program.
For example,
a = 5 ;
Here, 5 is a constant because its value cannot be changed.
Hope it helps you
Similar questions
Social Sciences,
7 months ago
Computer Science,
7 months ago
Physics,
1 year ago
Science,
1 year ago
Physics,
1 year ago