Computer Science, asked by Shivesh98, 1 year ago

Give a difference between :
A: Integer division and double division
B: Data types, Float and Double

Don't do spamming
Minimum Three points to Two points
Great answers will be marked brainliest

Answers

Answered by Manindersingh11
1
Integer division:- 1.when two integers divide itself.e.g= 4/2=2.
2. Output is also integer e.g=4/2=2, but this is not same in every language.
double division:- 1.When two doubles are divide itself.e.g= 4.33444234/2.3455443
2.Output is also double. e.g=4.33444234/2.3455443=1.84794734 this is same in every language.

Float:- 1.Floats values are less accurate than double values.
2. Floats value has memory size 32bit-4bit.
3.Float has default 0.0
float example =5.23

double:-1. Double values are very accurate than other numeric data types.
2.Double has memory size 64bit-8bit.
3.Double has also default 0.0
double example=3.25537390273637
Similar questions