English

The data type int stores fractional values. - Computer Applications

Advertisements
Advertisements

Question

The data type int stores fractional values.

Options

  • True

  • False

MCQ
True or False

Solution

This statement is False.

Explanation:

The int data type stores only whole numbers (integers). It does not store fractions or decimals. If you need to store fractional values, you can utilise data types such as float or double.

shaalaa.com
  Is there an error in this question or solution?
Chapter 1.03: Values and Data Types - EXERCISES [Page 32]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 1.03 Values and Data Types
EXERCISES | Q II. 9. | Page 32
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×