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 20978How do you declare a host variable (in COBOL) for an attribute named emp-name of type VARCHAR(25) ?
2 12007What are the different methods of accessing db2 from tso? How is the connection established between TSO & DB2?
3 14183what's the equivalent Cobol Data type for Decimal(x,y) in DB2? what does the current SQLID register contain?
3 18190Post New Tech Mahindra Interview Questions
What are the different ways in which you can give support to customers to solve their queries?
Explain the fact table and the dimension table?
What is the use of ‘info update’ indicator in purchasing documents?
How do I embed views within views?
What is difference between applet and swing?
Can you refresh servlet in client and server-side automatically?
Explain the default scope of variables in perl?
What is the exportrelease.xml ?
Does hashmap allow duplicate keys?
What is the use of rand() in php?
Explain the Different types of QTP test assets and their extensions?
What is statutory liquidity ratio (slr)?
Compare join and subquery in performance?
Explain the difference between noc & nms?
Is there a way to increase the size of an array after its declaration?