ADVANCED TOPICS IN COMPILER DESIGN
CODE GENERATION FOR OBJECT ORIENTED LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Which of the following items can be stored as an integer data type?
|
100m sprint timing
|
|
Number of pages in a book
|
|
Item’s price in the market
|
|
Currency conversion value
|
Explanation:
Detailed explanation-1: -The integer data type represents a positive whole number or its negative value. Examples of integers are 0, 1, 2, 3 and 4 .
Detailed explanation-2: -Integer (int) It is the most common numeric data type used to store numbers without a fractional component (-707, 0, 707).
Detailed explanation-3: -For example, if you want a column to store only integer values, you can define its data type as INT .
There is 1 question to complete.