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 21252How do you declare a host variable (in COBOL) for an attribute named emp-name of type VARCHAR(25) ?
2 12120What are the different methods of accessing db2 from tso? How is the connection established between TSO & DB2?
3 14324what's the equivalent Cobol Data type for Decimal(x,y) in DB2? what does the current SQLID register contain?
3 18346Post New Tech Mahindra Interview Questions
Can you explain data preparation?
What is the scope of a constant declared using public?
What is static variable with example?
Distinguish between nuclear power station with thermal power station for initial cost, starting period, cleanliness, and transportation of fuel
What are the functions of BPO?
Is RSA currently in use ?
In sap bw/bi, what are the main areas and activities?
Why cannot I use bind variables in ddl/scl statements in dynamic sql?
What is a Mapplet?
Why dictionary is used in c#?
Which branch of science deals with the transformation of chemical energy into electrical energy and vice versa?
How many bytes are a float?
Write a SQL query to delete a table?
What is Erosion in a control valve?
What is Segment ?