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

21. #define square(x) x*x main() { int i; i = 64/square(4); printf("%d",i); }

3 Answers  


write a program in c language for the multiplication of two matrices using pointers?

8 Answers   Ignou,


Taking an example,differentiate b/w loader and linker ?

1 Answers  


What is floating point constants?

0 Answers  


write a program to find lcm and hcf of two numbers??

1 Answers  






What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers

0 Answers  


The operation of a stair case switch best explains the a) or operation b) and operation c)exclusive nor operation d)exclusive or operation Which of the following is/are syntactically correct? a) for(); b) for(;); c) for(,); d) for(;;);

1 Answers   HCL, Public Service Commission,


Explain what are linked list?

0 Answers  


what is a function pointer and how all to declare ,define and implement it ???

4 Answers   Honeywell,


Write a program to reverse a string.

0 Answers   Global Logic, iNautix, TCS, Wipro,


What is calloc()?

0 Answers   Adobe,


second highest number in a given set of numbers

3 Answers   TCS,


Categories