About this question
Hard · Code Analysis · Quant Trader interview question · endianness, data-representation, network-protocol, integer-conversion
Your trading system receives market data from a network feed. The feed sends price updates as 32-bit integers in big-endian format. Your system, however, interprets these integers as little-endian. A price update arrives with the hexadecimal value 0x00000064. If your system incorrectly interprets this value as little-endian, what decimal value will your system display as the price?