Computer Science, asked by sameerabandon, 10 months ago

what are literals and constant

Answers

Answered by laxmiakant623554
3

Explanation:

A literal is a value that is expressed as itself. For example, the number 25 or the string "Hello World" are both literals. A constant is a data type that substitutes a literal. Constants are useful in situations where. a specific, unchanging value is to be used at various times during the software program.

plz make my answer brani list

Answered by hita10
1

A literal is a value that is expressed as itself. For example, the number 25 or the string "Hello World" are both literals. A constant is a data type that substitutes a literal. Constants are used when a specific, unchanging value is used various times during the program.

Similar questions