Computer Science, asked by samparaprasadp, 10 months ago

differentiate between data type int and data type double​

Answers

Answered by sy666309
1

Explanation:

int is a binary representation of a whole number, double is a double-precision floating point number. Short answer: int uses up 4 bytes of memory (and it CANNOT contain a decimal), double uses 8 bytes of memory. Just different tools for different purposes.

Answered by goutamipurra
1

Answer:

int is a binary representation of a whole number, double is a double-precision floating point number.  int uses up 4 bytes of memory (and it CANNOT contain a decimal), double uses 8 bytes of memory.

Explanation:

Similar questions