Q14
The generalised syntax for a real number representation is
A.
[digits][.digits][(E|e)[(+|-)]digits]
AnswerB.
[digits][+digits][(E|e)[(+|-)]digits]
C.
[digits][(E|e)[(+|-)]digits]
D.
[.digits][digits][(E|e)[(+|-)]digits]
Answer: Option A
Solution
Answer: Option A
Solution:
Floating-point literals may also be represented using exponential notation: a real number followed by the letter e (or E), followed by an optional plus or minus sign, followed by an integer exponent. This notation represents the real number multiplied by 10 to the power of the exponent.