Qualcomm Interview Question

How to check for endian-ness