What is the value of the following integer literal? 0x8?
Answers
Answered by
7
0 is the answer is
it true
it true
Answered by
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