/* byte array to reverse: 0xAA, 0xBB, 0xCC */ /* reversed: CC-BB-AA */ int reverse_byte_array[3u] = {0xCC, 0xBB, 0xAA}; int byte_array_length = 3u;