What is the difference between big endian form and little
endian form? write a code to convert big endian form to
little endian and vice versa..
Answer Posted / vish
Small correction in above macro.
'(' was missing in second line.
#define CON(NUM) (NUM&0x000000FF)<<24|(NUM&0x0000FF00)<<8
|(NUM&0x00FF0000)>>8 |(NUM&0xFF000000)>>24
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
Write program to remove duplicate in an array?
Explain how do you search data in a data file using random access method?
What is header file in c?
What is malloc() function?
1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.
Define and explain about ! Operator?
What is static memory allocation? Explain
What is the purpose of void pointer?
What is New modifiers?
Where we use clrscr in c?
What are c preprocessors?
Can 'this' pointer by used in the constructor?
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?
How will you print TATA alone from TATA POWER using string copy and concate commands in C?
Do variables need to be initialized?