What are identifiers and keywords 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.
Find errors (1) m = ++a*5; (2) a = b ++ -c*2; (3)y = sqrt (1000);
write a program for even numbers?
What does it mean when a pointer is used in an if statement?
What is the size of enum in bytes?
what is the output of the code and how? main() { int *ptr,x; x=sizeof(ptr); printf("%d",x); }
how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software
f=(x>y)?x:y a) f points to max of x and y b) f points to min of x and y c)error
what is the similarities between. system call and library function?
main is a predefined or user define function if user defined why? if predefined whay?
Difference between Function to pointer and pointer to function
What are the 4 data types?