Q:

What is big-endian and little-endian?

0

What is big-endian and little-endian?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Suppose, 32 bits Data is 0x11223344.

Big-endian

The most significant byte of data stored at the lowest memory address.

Little-endian

The least significant byte of data stored at the lowest memory address.

Note: Some processor has the ability to switch one endianness to other endianness using the software means it can perform like both big-endian or little-endian at a time. This processor is known as the Bi-endian, here are some architecture (ARM version 3 and above, Alpha, SPARC) who provide the switchable endianness feature.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Embedded C interview questions and answers (2022)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Write a C program to check the endianness of the s... >>
<< What is the endianness?...