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 17238How do you declare a host variable (in COBOL) for an attribute named emp-name of type VARCHAR(25) ?
2 10377What are the different methods of accessing db2 from tso? How is the connection established between TSO & DB2?
3 12313what's the equivalent Cobol Data type for Decimal(x,y) in DB2? what does the current SQLID register contain?
3 16529Post New Tech Mahindra Interview Questions
Define What are the materials used in building a gravity dam?
How much losses in microwave Link?
How do you check if data in one column is in another?
What is the difference between profiles and roles in salesforce.com?
Which material grade is better for low temperature application upto -20 deg C either IS 2062 GR B OR IS 2062 GR C ?
I am newbie in J2EE & looking for strong basic behind each concept as, Why do we use private access specifier before each variable of type property bcoz ultimately to access it outside the class we use public method as getter & setter ? If we use getter & setter to access it outside the class so better we make variable as public so that it is easily available outside of the class... Please guide me why do we use as private ????
How do trains go around bends?
How does PLC work for sychronising of Two or more DG sets?
How do you see your career at Under Armour?
How secure is postgresql?
What is the significance of continue jump statement? Explain with an example.
Is laravel an open source?
Discuss the various process operations, clearly stating what is involved in each process operation.
How to delete the table with the HBase shell?
Why does stock exchange give negative returns?