Computer Science, asked by sahanaghosh4084, 8 months ago

Difference between literal and constant in assembly language

Answers

Answered by priyoshi21
1

Hey there!!

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. For example, if you have a constant named PI that you'll be using at various places in your program to find the area, circumference, etc of a circle

Mark my answer as the brainliest...

Priyoshi ❤❤

Answered by Anonymous
4

\huge\green\bigstar{\blue{\fbox{ \fbox{\red{answer}}}}}\green\bigstar

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