Math, asked by Koolkhushi3650, 1 year ago

What is the value of the following integer literal? 0x8?

Answers

Answered by gry
7
0 is the answer is
it true
Answered by cyrusbishop
2

The above question is wrong.

Correct question: What is the value of the Octal Integer literal?

Answer:

A sequence of digits starting with 0 is taken to be an octal integer.

For instance, decimal integer 8 will be written as 010 as octal integer and decimal integer 12 will be written as 014 as octal integer.

Make sure that when an integer begins with 0, it must not contain 8 and 9 as these are invalid octal digits.

Similar questions