what is the little endian and big endian?

Answer Posted / preeti singh

Little endian and big endian refer to the order in which
sequence of bytes are stored in computer memory. Big-endian
is the order in which the most significant byte is stored
first in the memory (at lowest storage address). Whereas
Little-endian is the order in which the least significant
byteis stored first in the memory. For e.g. in a big-endian
computer the hexadecimal number 3AFB would be stored as 3AFB
in memory (3A at memory address 4000 and FB at memory
address 4001), whereas in little endian the same hexadecimal
number 3AFB will be stored as FB3A (FB at memory address
4000 and 3A at memory address 4001)

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the stack in c?

720


What is || operator and how does it function in a program?

630


How do I read the arrow keys? What about function keys?

616


Do character constants represent numerical values?

844


When can you use a pointer with a function?

568






Difference between Shallow copy and Deep copy?

1572


What is the difference between union and structure in c?

577


Do you have any idea how to compare array with pointer in c?

604


write a program for the normal snake games find in most of the mobiles.

1786


How can you be sure that a program follows the ANSI C standard?

1130


What is meant by initialization and how we initialize a variable?

587


struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer

766


about c language

1606


Where define directive used?

607


Why is c so popular?

650