c find last element in array
snippet in c

c find last element in array

user4851

sizeof(array)/sizeof(array[0]) - 1