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

Can you write the function prototype, definition and mention the other requirements.

0 Answers   Adobe,


How pointers are declared?

0 Answers  


What is difference between structure and union in c programming?

0 Answers  


1.what are local and global variables? 2.what is the scope of static variables? 3.what is the difference between static and global variables? 4.what are volatile variables? 5.what is the use of 'auto' keyword? 6.how do we make a global variable accessible across files? Explain the extern keyword? 7.what is a function prototype? 8.what does keyword 'extern' mean in a function declaration?

2 Answers   nvidia,


Explain what is gets() function?

0 Answers  






Why void main is used in c?

0 Answers  


Write a program in c to print 1 121 12321 1234321 123454321

11 Answers   ANR, College School Exams Tests, Mu Sigma, Wipro,


#include<stdio.h> main(0 { printf("\n %d %d %d",sizeof(3),sizeof("3"),sizeof(3)); }

4 Answers   HCL,


What will be the outcome of the following conditional statement if the value of variable s is 10?

0 Answers  


What is structure padding & expalain wid example what is bit wise structure?

1 Answers  


Who is the main contributor in designing the c language after dennis ritchie?

0 Answers  


What is c standard library?

0 Answers  


Categories