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 20859How do you declare a host variable (in COBOL) for an attribute named emp-name of type VARCHAR(25) ?
2 11962What are the different methods of accessing db2 from tso? How is the connection established between TSO & DB2?
3 14128what's the equivalent Cobol Data type for Decimal(x,y) in DB2? what does the current SQLID register contain?
3 18126Post New Tech Mahindra Interview Questions
What is e-r model in the dbms?
What is the difference between strcpy() and memcpy() function in c programming?
Is swing still used in java?
What does strip () do python?
What do you mean by a deadlock?
What is dynamo?How it works and what is the function of dynamo in a DG.
Mention stefan boltzman contant.
what do you regret the most in your life?
How to pass arraylist to stored procedure in java?
How long does it take to get good at javascript?
What is string function in c?
What do you know about BHEL?
How long does Salesforce certification last?
write program which accept information about 5 student & display same information according to ascending order of their name??
What the first thing You’ll do as a SQA Tester if I hired You?