Home » JavaScript » JavaScript Variables » Question
  1. A hexadecimal literal begins with __________
    1. 0x
    2. 0X
    3. Both 0x and 0X
    4. 00
    5. None of these
Correct Option: C

Generally, X or x denotes hexadecimal values. So, any integer literal that begins with 0X or 0x denotes a hexadecimal number.



Your comments will be displayed only after manual approval.