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 define directive?

644


What is the correct code to have following output in c using nested for loop?

615


What does the message "automatic aggregate intialization is an ansi feature" mean?

698


What are the differences between Structures and Arrays?

614


What is the maximum no. of arguments that can be given in a command line in C.?

674






What is the purpose of the statement: strcat (S2, S1)?

643


What is the c language function prototype?

651


What is #include stdio h?

689


Explain about C function prototype?

613


Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer

3846


A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler

628


An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?

675


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

3506


Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?

693


When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?

592