Which type of literal is 9?
Answers
Answered by
5
Answer:
Hey
mate here is your answer
Explanation:
HOPE IT HELPS YOU
Attachments:
Answered by
0
Answer:
is an integer literal.
Explanation:
- In C++, Integer literal - Integer values are represented and stored using them. (base 10)
Among integer literals, is a decimal literal.
- Decimal-literal : A decimal digit that is not zero, followed by zero or more decimal digits (0, 1, 2, 3, 4, 5, 6, 7, 8, 9).
If the question had been , it would have been a floating-point literal.
- Floating-point literal : Real numbers are represented and stored using them. There are four parts to a real number: integer, real, fractional, and exponential. The floating-point literals can be saved as decimal or exponential values.
Similar questions