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 18857How do you declare a host variable (in COBOL) for an attribute named emp-name of type VARCHAR(25) ?
2 11038What are the different methods of accessing db2 from tso? How is the connection established between TSO & DB2?
3 13045what's the equivalent Cobol Data type for Decimal(x,y) in DB2? what does the current SQLID register contain?
3 17261Post New Tech Mahindra Interview Questions
What is address in wcf and how many types of transport schemas are there in wcf?
Why blockchain is a trusted approach?
Differentiate between odbc and drs stage?
What’s a way to append a value to an array?
Which commands are used to pause and un-pause (resume) an instance?
How logical gates are controlled by boolean logic?
Define a biome?
Mention how many files are required to built module in Joomla?
What is 'data skew'?
Write the simplified mathematical Taylor's expansion for f(x,y)
When to use “const” reference arguments in a function?
What is difference in performance between insert top (n) into table and using top with insert?
What is the difference between declaring a variable by constant keyword and #define ing that variable?
What is the difference between compare and compareto in java?
Explain singly linked list in short.