Problem Solving using C Language

0 of 57 lessons complete (0%)

Arrays

Why Array starts from 0

For INT Data Type

5000+0 (Index) * 2(Size of Datatype INT)=5000
5000+1 (Index) * 2(Size of Datatype INT)=5002
5000+2 (Index) * 2(Size of Datatype INT)=5004

For FLOAT Data Type

5000+0 (Index) * 4(Size of Datatype Float)=5000
5000+1 (Index) * 4(Size of Datatype Float)=5004
5000+2 (Index) * 4(Size of Datatype Float)=5008