What kind of constants: 14, 011, 0X2A, 17, 014, 0XBC1.
Q11. What kind of constants are the following: 14, 011, 0X2A, 17, 014, 0XBC1?
Ans.
14: is an example of Decimal Integer Literals or Decimal Integer constants,
011: is an example of Octal Integer Literals or Octal Integer constants,
0X2A: is an example of HexaDecimal Integer Literals or HexaDecimal Integer constants,
17: is an example of Decimal Integer Literals or Decimal Integer constants,
014: is an example of Octal Integer Literals or Octal Integer constants,
0XBC1: is an example of HexaDecimal Integer Literals or HexaDecimal Integer constants.