-
0545, 451245123245, ‘p’ and 0X3f are _____ _____ ____ and _____ literals respectively.
-
- hexadecimal, octal, decimal, character
- octal, decimal, character, hexadecimal
- octal, hexadecimal, character, decimal
- decimal, character,octal, hexadecimal
- None of these
Correct Option: B
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 ”.