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 21015How do you declare a host variable (in COBOL) for an attribute named emp-name of type VARCHAR(25) ?
2 12029What are the different methods of accessing db2 from tso? How is the connection established between TSO & DB2?
3 14199what's the equivalent Cobol Data type for Decimal(x,y) in DB2? what does the current SQLID register contain?
3 18207Post New Tech Mahindra Interview Questions
What is the "contract" property of endpoint in wcf?
What is overloading in oops?
When does a container initialize multiple jsp / servlet objects?
What is the best alternative to microsoft access?
What causes an ssd to fail?
What does cshtml stand for?
Will you be happy to re-locate, if required?
What is the difference between page control and window control in wpf?
Explain what is on-page and off page optimization?
What happens if the methods doesn’t exist?
How to create model and how to test model?
How do you stop weblogic using the command line?
Why was yellow journalism used in late 1890?
How do you insert a word document into another word document with formatting?
What is the difference between "using system.data;" and directly adding the reference from "add references dialog box"?