+1 vote
in Class 12 by kratos

What are floating-point constants, octal constants, and hexadecimal constants?

1 Answer

+6 votes
by kratos
 
Best answer

1. Floating-point constants:

They are numeric values that contain decimal points and can contain exponents.

2. Octal constants:

They are a sequence of digits starting with 0 (zero) to 7.

3. Hexadecimal constants:

They are a of sequence of digits from 0 to 9 and A, B, C,D, E, F alphabet symbols that represent decimal numbers 10, 11, 12, 13, 14, and 15 respectively, preceded by ox or OX.

...