How can you return multiple values from a function?
No Answer is Posted For this Question
Be the First to Post Answer
What is the difference between near, far and huge pointers?
what is c?
What does c mean?
What is use of integral promotions in c?
what is the diff b/w static and non static variables in C. Give some examples plz.
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.
Is exit(status) truly equivalent to returning the same status from main?
Explain what is a pragma?
7. Identify the correct argument for the function call fflush() in ANSI C: A)stdout B)stdin C)stderr D)All the above
what is a NULL pointer?
write a program wch produces its own source code aas its output?
char ch=10;printf("%d",ch);what is the output