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
Is a house a mass structure?
What is the purpose of the preprocessor directive error?
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
Explain bit masking in c?
What is the difference between exit() and _exit() function?
Explain how do you print an address?
Explain what will the preprocessor do for a program?
What is the data segment that is followed by c?
What is the meaning of typedef struct in c?
Where are the auto variables stored?
Why do we use int main?
Why we use int main and void main?
What are the 4 data types?
What is the difference between memcpy and memmove?
How do I convert a string to all upper or lower case?