Give differences between - new and malloc() , delete and free() ?
No Answer is Posted For this Question
Be the First to Post Answer
Is main() function predfined or userdefined?
Explain what is the difference between declaring a variable and defining a variable?
How do we make a global variable accessible across files? Explain the extern keyword?
Explain #pragma in C.
write the program for maximum of the following numbers? 122,198,290,71,143,325,98
Can you please compare array with pointer?
Explain what is the advantage of a random access file?
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 the use of f in c?
What is extern keyword in c?
what is the answer for it main() { int i; clrscr(); printf("%d",&i)+1; scanf("%d",i)-1; }
How does selection sort work in c?