There’s an old story about the person who wished his computer were as easy to use as his telephone. That wish has come true, since I no longer know how to use my telephone. Bjarne Stroustrup
Little endian and big endian are ways to store multi-byte data types. Little endian store the last byte of binary representation of the multibyte store first. The big endian store first byte of binary representation of the multibyte store first.
Write a program to find whether machine is big endian or little endian.