If you want to perform mathematical calculations whose value is an integer and is greater than 66.000 then which of the following data type you will use for storing numbers?

  • AShort
  • BInteger
  • CFloat
  • DNone of these
Show answerHide answer

Correct answer B

Integer data type stores whole numbers without decimals, ideal for values like 67, 100, etc. It supports a range that easily includes numbers greater than 66.000 and doesn’t require decimal precision like float.