Q13
A hexadecimal literal begins with
A.
00
B.
0x
C.
0X
D.
Both 0x and 0X
AnswerAnswer: Option D
Solution
Answer: Option D
Solution:
Generally, X or x denotes hexadecimal values. So, any integer literal that begins with 0X or 0x denotes a hexadecimal number.