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 17236How do you declare a host variable (in COBOL) for an attribute named emp-name of type VARCHAR(25) ?
2 10376What are the different methods of accessing db2 from tso? How is the connection established between TSO & DB2?
3 12311what's the equivalent Cobol Data type for Decimal(x,y) in DB2? what does the current SQLID register contain?
3 16525Post New Tech Mahindra Interview Questions
What do you mean by a local block?
Explain the concept and use of type void.
Explain about the asc function?
How do I stop httpd server?
why do you add the load short circuit impedance when considering short circuit amperage. It seems that you should only consider supply. If you need to consider loads and you don't know what loads are to be added , what would be a good sub-transient reactance rating for the loads?
Who were your favorite professors? Why?
What is LazyOutputFormat in MapReduce?
What are types of shells?
What are the rules in css ruleset?
How many SEO techniques do you know?
What is a spawn in call process?
How do I remove a suffix in excel?
What is auto status in idms?
Tell us what kind of keyboard operations can be performed in selenium?
What if the main method is declared as private?