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 21559How do you declare a host variable (in COBOL) for an attribute named emp-name of type VARCHAR(25) ?
2 12244What are the different methods of accessing db2 from tso? How is the connection established between TSO & DB2?
3 14481what's the equivalent Cobol Data type for Decimal(x,y) in DB2? what does the current SQLID register contain?
3 18488Post New Tech Mahindra Interview Questions
What is pin diode?
What is 1st / 2nd / 3rd / 4th generation processor?
How can the FCFS scheduling be made better?
Difference between parameter table and Normal table?
How to deploy war web applications in tomcat?
What is the general entry for charge on bank overdraft
What is bean? Where it can be used?
A content management system running on ec2 instance is approaching 100% cpu utilization. How will you reduce the load on ec2 instance
Explain me what kinds of annotations are used in testng?
What is meant by final class?
How does AI contribute to public transportation efficiency?
Is there any additional configuration required for account-based profitability analysis as compared to costing based profitability analysis?
Differentiate between two stroke engines four stroke engines.
Does thermal inversion occur in the winter or in the summer?
What is the full form of ads?