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 17252How do you declare a host variable (in COBOL) for an attribute named emp-name of type VARCHAR(25) ?
2 10403What are the different methods of accessing db2 from tso? How is the connection established between TSO & DB2?
3 12328what's the equivalent Cobol Data type for Decimal(x,y) in DB2? what does the current SQLID register contain?
3 16534Post New Tech Mahindra Interview Questions
What are the difference between laravel 5 & laravel 4?
How do I show line numbers in sql server management studio?
Can you list the different modules in sap?
Explain some differences between mpp and smp?
What is latest iis version?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
What is filter in angularjs?
What does $? Mean in unix?
Can we test the alignment of End shield and stator of turbogenerator without rotor insertion? Also how to fix maintain the alignment at site installation?
What is head and head tags?
What is a page life cycle? What are the events in a page life cycle?
What is copy constructor? Can we make copy constructor private in c++?
Is php free to use?
How many ways that we can view a result set?
Describe a couple of instances, big or small, where you took a different tack in achieving an objective than was the company standard?