elegant way to get the last element of an array in c$ code example Example: c find last element in array sizeof(array)/sizeof(array[0]) - 1