1.

The generalised syntax for a real number representation is __________(a) [digits][.digits][(E|e)[(+|-)]digits](b) [digits][+digits][(E|e)[(+|-)]digits](c) [digits][(E|e)[(+|-)]digits](d) [.digits][digits][(E|e)[(+|-)]digits]

Answer» Correct option is (a) [digits][.digits][(E|e)[(+|-)]digits]

The explanation is: 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.


Discussion

No Comment Found

Related InterviewSolutions