1.

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

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.



Discussion

No Comment Found

Related InterviewSolutions