0 votes
in JavaScript by
Which of the following option is used as hexadecimal literal beginning?

a) 00

b) 0x

c) 0X

d) Both 0x and 0X

1 Answer

0 votes
by

Answer: D

Reason: In general, the X and x both can be used to denote the hexadecimal values, so any integer literal that begins with either 0X or 0x denotes a hexadecimal number.

...