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 17207How do you declare a host variable (in COBOL) for an attribute named emp-name of type VARCHAR(25) ?
2 10370What are the different methods of accessing db2 from tso? How is the connection established between TSO & DB2?
3 12301what's the equivalent Cobol Data type for Decimal(x,y) in DB2? what does the current SQLID register contain?
3 16514Post New Tech Mahindra Interview Questions
What is maximum displacement?
Explain thread.
Explain how do you use structures in the abap programs?
What about Service accounts?
what is promotion and sales promotion
Elaborate the plinq?
What is callback interface?
Which is the best field foundation bus. ( FF ) Yokogawa, Honeywell or others ?
What is the replication factor?
Can we use threads in Servlets?
How can Contexts be created?
Explain what is the procedure to configure jms security?
Explain event bubbling and event capturing in javascript?
Explain the major terrestrial biomes?
What is wrong with the code?