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 21544How do you declare a host variable (in COBOL) for an attribute named emp-name of type VARCHAR(25) ?
2 12240What are the different methods of accessing db2 from tso? How is the connection established between TSO & DB2?
3 14478what's the equivalent Cobol Data type for Decimal(x,y) in DB2? what does the current SQLID register contain?
3 18484Post New Tech Mahindra Interview Questions
What are the challenges of implementing AI on edge devices?
What is saytzeff’s rule?
What is the difference between shared memory and message passing?
What Are The Different Types Of Instances Used In Amazon Ec2?
1.when a diode has its maximum resistance? 2.is ohm's applicable for an ac circuit?
What is the difference between spawn and fork?
What is ‘this’ keyword in JavaScript?
Does Python support strongly for regular expressions?
What are the components used in smp and massively parallel processing (mpp) machines?
how much steel required for 1 sq area for swimmin pool construcion
What are the Uses of CLR
How to write media query for mobiles?
Explain High Severity and Low Priority with example?
Distinguish between new and malloc and delete and free().
What are virtual functions, base class pointer, derived class pointer, biding references?