Explain what are the advantages and disadvantages of a heap?
No Answer is Posted For this Question
Be the First to Post Answer
1)which of following operator can't be overloaded. a)== b)++ c)?! d)<=
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.
What is array within structure?
Is main() function predfined or userdefined?
ABCDCBA ABC CBA AB BA A A
How to Throw some light on the splay trees?
write a program to convert a expression in polish notation (postfix) to inline (normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix
Why do we use & in c?
Explain what will the preprocessor do for a program?
void swap(int a,int b) { a=a+b; b=a-b; a=a-b; } in this code always gives the same result for all case
What is a file descriptor in c?
in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above