define literal numbers.Write any one literal number
Answers
Answered by
20
QuestioN :
(i)define literal numbers.
(ii)Write any one literal number
AnsWer :
(i)
- 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".
(ii)
- Literal numbers are the letters which are used to represent a number.
- The literal numbers are also known as literals.
- Literal numbers obey all the rules of addition, subtraction, multiplication and division of numbers.
Example:-
FindingLove:
Perfect Answer
Answered by
0
Answer:
LITERAL NUMBERS ARE THE LETTERS WHICH ARE USED TO A REPRESENT A NUMBER. THE LITERAL NUMBERS ALSO KNOWN AS LITERALS. LITERAL NUMBER OBEY ALL THE RULES OF ADDITION, SUBTRACTION, MULTIPLICATION AND DIVISION OF NUMBERS. THUS, A+B MEANS B IS ADDDED TO A. EXAMPLE= AₓB CAN BE WRITTEN AS A.B OR AB.
Step-by-step explanation:
Similar questions