what is the little endian and big endian?



what is the little endian and big endian?..

Answer / 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

More C Interview Questions

what is the structure?

4 Answers   TCS,


What is wrong in this statement?

0 Answers  


Why calloc is better than malloc?

0 Answers  


write a c program to print the values in words eg:- 143 written it has (one hundred and forty three)& 104, 114 are also written words

5 Answers   Captronic, DELL, Google, IBM, Mithi, RCC, Wipro,


Can we declare variables anywhere in c?

0 Answers  






write a c program to find the roots of a quadratic equation ax2 + bx + c = 0

11 Answers   CSC, St Marys, TATA,


Is a pointer a kind of array?

0 Answers  


What do you mean by recursion in c?

0 Answers  


2)#include<iostream.h> main() { printf("Hello World"); } the program prints Hello World without changing main() the o/p should be intialisation Hello World Desruct the changes should be a)iostream operator<<(iostream os, char*s) os<<'intialisation'<<(Hello World)<<Destruct b) c) d)none of the above

4 Answers   Siemens,


write a program for even numbers?

19 Answers   TCS,


Why do we use static in c?

0 Answers  


What is the difference between void main() and void main (void) give example programme?

0 Answers  


Categories