title: how to find the number of elements present in an array in C
body: <p>suppose I have an array a[10] and it is filled up to 6 places example a[]={10,20,30,40,50,60} now rest 4 places are empty, now how do I print the number of places that are filled in an array-like in the above case it should print 6, given the scenario that I do not know the array beforehand like  I do not have any clue what size it is or the elements that are there inside.</p>