Computer Science, asked by mike876, 6 months ago

Define literal and write its syntax.​

Answers

Answered by HèrøSk
58

A literal is a notation for representing a fixed value in source code. ... In lexical analysis, literals of a given type are generally a token type, with a grammar rule, like "a string of digits" for an integer literal. Some literals are specific keywords, like true for the boolean literal "true".

hope it will helps you ✌️

Answered by Anonymous
3

Answer:

In computer science, a literal is a notation for representing a fixed value in source code. In lexical analysis, literals of a given type are generally a token type, with a grammar rule, like "a string of digits" for an integer literal. Some literals are specific keywords, like true for the boolean literal "true".

hoe it helps

Have a good day ahead ☺☺❤❤

Similar questions