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 |
Is the following code legal? struct a { int x; struct a b; }
An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode
main() { int age; float ht; printf("Enter height and age"); scanf("%d%d",&height,&age); if((age<=20)&&(ht>=5)) {printf("She loves you");} else {printf("She loves you");} }
What are types of functions?
Difference between malloc() and calloc() function?
why we wont use '&' sing in aceesing the string using scanf
Differentiate between a structure and a union.
What is enumerated data type in c?
What are the types of operators in c?
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
print the pattern 1 2 4 3 6 9 4 8 12 16 5 10 15 20 25 if n=5
How do you print only part of a string?