how and why sizeof(a)/sizeof(a[0]) in c is used to calculate the number of elements in an array
<p>I am a beginner to programming and i don't know the exact meaning of sizeof(a) and sizeof(a[0]) to calculate the no of elements in an array.
Why and where is this function  used ?
And what is the purpose of dividing them.</p>