Computer Science, asked by Debayan2006, 3 months ago

What are literals ?
Give some examples of literals ?​

Answers

Answered by ghatejanhavi74
3

Answer:

In computer science, a literal is a notation for representing a fixed value in source code. ... An anonymous function is a literal for the function type. In contrast to literals, variables or constants are symbols that can take on one of a class of fixed values, the constant being constrained not to change.

Literals provide a means of expressing specific values in your program. For example, in the following statement, an integer variable named count is declared and assigned an integer value. The literal 0 represents, naturally enough, the value zero. Code section 3.61: Numeric literal.

Answered by senapath8003
11

Answer: Literals provide a means of expressing specific values in your program. For example, in the following statement, an integer variable named count is declared and assigned an integer value. The literal 0 represents, naturally enough, the value zero. Code section 3.61: Numeric literal.

Explanation: pls mark me as brainliest

Similar questions