f(char *p) { p=(char *)malloc(sizeof(6)); strcpy(p,"HELLO"); } main() { char *p="BYE"; f(p) printf("%s",p); } what is the output?
9 21252How do you declare a host variable (in COBOL) for an attribute named emp-name of type VARCHAR(25) ?
2 12119What are the different methods of accessing db2 from tso? How is the connection established between TSO & DB2?
3 14324what's the equivalent Cobol Data type for Decimal(x,y) in DB2? what does the current SQLID register contain?
3 18346Post New Tech Mahindra Interview Questions
Which .net applications are supported in silverlight?
What are sql dirty pages?
In one room in your game, there's an elevator that AIs will need to use to escape from the player. In order to use the elevator, they have to walk over to a special button on the wall, press it to summon the elevator, then walk into the elevator and press another button to tell it to ascend. How would you design a system to make sure AIs can do all of these things in the proper order? If you have 3 AIs in the room, how would you design the system to make sure they can all escape in the elevator at the same time? What happens if one of them dies while they're trying to do this, and how do you make sure the other AIs don't get stuck waiting for that dead AI?
What is a sandbox org?
What is "scheduled jobs" or "scheduled tasks"?
How do you delete a document from a collection?
WHAT IS THE PROCESS OF "CLAIM PROCESSING SYSTEM"
What does flush do in python?
WHAT IS TEST SCRIPT AND HOW DO YOU CREATE IT?
What is difference between database and schema?
Can you have windows 7 and 10 on the same computer?
What is a variable in java?
What is difference between put and patch?
What is the lattice energy of nacl?
There are three boxes, one contains only apples, one contains only oranges, and one contains both apples and oranges. The boxes have been incorrectly labeled such that no label identifies the actual contents of the box it labels. Opening just one box, and without looking in the box, you take out one piece of fruit. By looking at the fruit, how can you immediately label all of the boxes correctly?