Can you add pointers together? Why would you?
No Answer is Posted For this Question
Be the First to Post Answer
What do you understand by friend-functions? How are they used?
Find Index of least significant bit set in an Integer. ex. int value is say 10001000 results should be 4.
How to removing white spces in c programming only bu using loops
Using which language Test cases are added in .ptu file of RTRT unit testing???
Explain the difference between strcpy() and memcpy() function?
What is the process to create increment and decrement stamen in c?
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.
Why is c known as a mother language?
What is difference between class and structure?
Differentiate between the = symbol and == symbol?
Give a method to count the number of ones in a 32 bit number?
what is the output? #define fun(a,b,t) (g ##t=(a),(a)=(b),(b)=g##t) float gfloat; main() { float a=1.12,b=3.14; fun (a,b,float); printf("na=%4.2f,b=%4.2f",a,b); } A)Error in Defining Macro B)a=1.12,b=3.14 C)a=3.14,b=1.12 D)None of the Above
3 Answers Accenture, Infosys, Wipro,