Whats wrong with the following function char *string() { char *text[20]; strcpy(text,"Hello world"); return text; }
3 8519What is the output of following program ? int main() { int x = 5; printf("%d %d %d\n", x, x << 2, x >> 2); }
5 23320You 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 5769Write a C program to perform some of the operation which can be performed using Single linked list
1 8205i 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 10625Tell me how many tables used in Ur project and how many fact tables and dimension tables used in ur project
2 8089Given 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.
1 2379Did mobile moves from cell DCH to Cell FACH State if so..What information will pass between Cell FACH and Cell Dch states
1 9095in mosfet we have different types like enhancement and depletion.but why do we preffer enhancement over dpletion
4 9119Post New Qualcomm Interview Questions
What is the per cu. mt. price of ready mix in Gujarat region.?
Does view occupy space?
How to convert a string to a number using javascript?
What are standardization and normalisation? Give one advantage of each over the other?
Pls can anybody send me the Recent Technical and Interview Questions Which were asked in IBM(QTP)Automation PLZZZZZZZZZ
What sort of image do you have?
how many percentage interest sbi calim for home loan
What sized websites have you worked on in the past?
how did u celebrate your last birth day ?
hiiiii sir ..tell me the written test pattern for symphony teleca.....pleaseee
How to Retrieving the program that is associated with a given extension?
Hello sir I am going to give section engineer examination and will be held in 2010. So I need all prevous years examination papers. please send it on my email id : bhalchandrap@yahoo.co.in
What is the current version of edge?
What is the latest panda update ?
The following are the list of Balances of SUNSHINE Company as at 1.2.2012 RM Land and building 450,000. Furniture and Fittings 35,000. Office Equipment 25,000. Motor Vehicles 75,000. Inventory 5,000. Trade Receivables 12,000. Trade Payables 8,000. Bank Loan 200,000. Bank 13,000. Cash in Hand 1,000. Capital 408,000.