Whats wrong with the following function char *string() { char *text[20]; strcpy(text,"Hello world"); return text; }
3 6802What is the output of following program ? int main() { int x = 5; printf("%d %d %d\n", x, x << 2, x >> 2); }
5 20940You 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.
2 4585Write a C program to perform some of the operation which can be performed using Single linked list
1 7434i want link to download brain teasers ebook by ravi narula for written test in software companies interviews.. so plzzzzzz send the link on my email id pammi123@gmail.com.....as soon as possible....or give it on this site....
1 9543Tell me how many tables used in Ur project and how many fact tables and dimension tables used in ur project
2 6893Given a light which may blink at a random time. There are two players who has to press a button when light blinks. The person who gets 20 pts first is declared as winner. Design FSM for this gaming event.
1861Did mobile moves from cell DCH to Cell FACH State if so..What information will pass between Cell FACH and Cell Dch states
1 8000in mosfet we have different types like enhancement and depletion.but why do we preffer enhancement over dpletion
4 6956Post New Qualcomm Interview Questions
Name what are the types of sharing rules?
What are the features of message broker?
Which linux is closest to mac?
In 1700 ad, this person showed that a series of 0s and 1s could be used to denote a number:
what is weighted average rating factor?
What does model do in mvc?
How do you rank in excel?
What is data type in data structure?
What are the different rules of SORT operation?
Can xml be used for multimedia purpose?
Usually in .net, the clr takes care of memory management. Is there any need for a programmer to explicitly release memory and resources? If yes, why and how?
What is dematerialization?
What do hive variable means? How can we utilize it?
What is a conclusion in a presentation?
What two things constitute a tcp ip socket?