Computer Science, asked by Luvm3070, 9 months ago

What will be the datatype of following two variables a is equal to 2147483647, b is equal to a 1

Answers

Answered by abhishekjmathepcu9s9
7

Answer:

Integers

Explanation:

Both of these will be integers as none of them has decimal point and are completely numerical.

Answered by gratefuljarette
7

Answer:

The data type for a i.e 2147483647 and for b i.e 1, should be int because it has 4 bytes values.

Explanation:

The data type is a variable used in a computer programming language so that the computer can understand what type of values it should hold or can verify it properly. Basically int or integer data type is used for any integer values positive or negative.

For short integer, we can take a short int and for long integer, we can take long int. For any single or up to 4 places of integer, we can only take an int as a data type.

Similar questions