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 21301How do you declare a host variable (in COBOL) for an attribute named emp-name of type VARCHAR(25) ?
2 12135What are the different methods of accessing db2 from tso? How is the connection established between TSO & DB2?
3 14356what's the equivalent Cobol Data type for Decimal(x,y) in DB2? what does the current SQLID register contain?
3 18371Post New Tech Mahindra Interview Questions
What is dynamic query?
Is sizeof a keyword in c?
Please enumerate the various components of the Spark Ecosystem.
Why do we learn c++?
Explain the domain creation types?
#include int main() { char c='1'; int j=atoi(c); }
Tell me what type(amount) of capacitors are used in fan?
What are the different class loaders used by jvm?
What is meant by bean scope?
How you can turn off the display for dimension in CAD?
On which factors scc depend?
What is an Action? How do you describe an Action?
Explain how extension table is related to base table?
Briefly describe how three types of page tables works and compare their benefits.
What are the objectives of studying data structures?