How to find the size of an integer array in C.
Any method available without traversing the whole array once, to find out the size of the array.
int len=sizeof(array)/sizeof(int);
Should work.