What are the different file extensions involved when programming in C?
No Answer is Posted For this Question
Be the First to Post Answer
You have an int array with n elements and a structure with three int members. ie struct No { unsigned int no1; unsigned int no2; unsigned int no3; }; Point1.Lets say 1 byte in the array element is represented like this - 1st 3 bits from LSB is one number, next 2 bits are 2nd no and last 3 bits are 3rd no. Now write a function, struct No* ExtractNos(unsigned int *, int count) which extracts each byte from array and converts LSByte in the order mentioned in point1.and save it the structure no1, no2, no3. in the function struct No* ExtractNos(unsigned int *, int count), first parameter points to the base address of array and second parameter says the no of elements in the array. For example: if your array LSB is Hex F7 then result no1 = 7, no2 = 2, no3 = 7. In the same way convert all the elements from the array and save the result in array of structure.
where are auto variables stored? What are the characteristics of an auto variable?
What is the function of multilevel pointer in c?
When was c language developed?
in which language c language is written?
What are the two types of structure?
# define x=1+4; main() { int x; printf("%d%d",x/2,x/4); }
What are header files in c?
What does %d do?
Please write me a program to print the first 50 prime numbers (NOT between the range 1 -50)
ATM machine and railway reservation class/object diagram
What is function prototype in c language?