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 21513How do you declare a host variable (in COBOL) for an attribute named emp-name of type VARCHAR(25) ?
2 12233What are the different methods of accessing db2 from tso? How is the connection established between TSO & DB2?
3 14465what's the equivalent Cobol Data type for Decimal(x,y) in DB2? what does the current SQLID register contain?
3 18465Post New Tech Mahindra Interview Questions
What's the difference between scripting and coding?
How do I test sending emails without actually sending emails to real addresses?
How do I print full page?
Explain the file types in aix.
Explain if rule availability is set as final?
In oops what is a diamond problem in inheritance?
Give an example of 'dreaded for loop'?
What are application partitions? When do we use them?
How are the jsp requests handled?
How to take a poison from oleander?
What are the controllers in angular js?
Why is it important to have an emulator inside the android environment?
How will you make .NET programs work in Linux ?
What is a one-to-one association in hibernate?
Explain how to kill a particular process in windows?