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
Why c language?
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.
how to capitalise first letter of each word in a given string?
What are the 32 keywords in c?
Explain Function Pointer?
Write a program to identify if a given binary tree is balanced or not.
What is strcmp in c?
What are disadvantages of C language.
I just typed in this program, and it is acting strangely. Can you see anything wrong with it?
What is c standard library?
If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..
How can I find out if there are characters available for reading?
write a program in c language to print your bio-data on the screen by using functions.
What are variables and it what way is it different from constants?
How can I rethow can I return a sequence of random numbers which dont repeat at all?