0946, 786427373824, ‘x’ and 0X2f are _____ _____ ____ and _____ literals respectively.

a) decimal, character, octal, hexadecimal
b) octal, hexadecimal, character, decimal
c) hexadecimal, octal, decimal, character
d) octal, decimal, character, hexadecimal

1 thought on “0946, 786427373824, ‘x’ and 0X2f are _____ _____ ____ and _____ literals respectively.”

  1. d
    Explanation: Literal integer constants that begin with 0x or 0X are interpreted as hexadecimal and the ones that begin with 0 as octal. The character literal are written within ”.

Leave a Comment