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 20857How do you declare a host variable (in COBOL) for an attribute named emp-name of type VARCHAR(25) ?
2 11962What are the different methods of accessing db2 from tso? How is the connection established between TSO & DB2?
3 14128what's the equivalent Cobol Data type for Decimal(x,y) in DB2? what does the current SQLID register contain?
3 18126Post New Tech Mahindra Interview Questions
Why do I get an error (cs1006) when trying to declare a method without specifying a return type?
How will you allow a class to be inherited, but prevent the method from being over-ridden?
How do I clean up sql server transaction log?
How does windows service lifecycle differ from a .standard. Exe?
How do I know if I have sql express or standard?
How many types of activation function are available?
What are controllers in laravel?
What are the advantages of using wen dynpro?
What is command to check ports running/used over local machine
When have you had to adapt your workload due to increasing demand from your supervisors?
Write a Hive UDF that returns a sentiment score. For example, if good = 1, bad = -1, and average = 0, then a review of a restaurant states "Good food, bad service," your score might be 1 - 1 = 0.
How can a user login to solaris? What is the login shell?
Suppose an array contains @arraycontent=(‘ab’, ‘cd’, ‘ef’, ‘gh’). How to print all the contents of the given array?
What does ls lrt in unix?
Explain the properties and principles of oop.