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 21528How do you declare a host variable (in COBOL) for an attribute named emp-name of type VARCHAR(25) ?
2 12239What are the different methods of accessing db2 from tso? How is the connection established between TSO & DB2?
3 14475what's the equivalent Cobol Data type for Decimal(x,y) in DB2? what does the current SQLID register contain?
3 18484Post New Tech Mahindra Interview Questions
what is SYSVOL folder?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
What is difference between IEnumerable and IList?
What is the main use of c++?
Tell me what is htaccess?
How to select a database?
What is the best platform in the cloud?
What happens if the series current double?
What are the ways a project time schedule can be compressed?
How mahout used with python ?
What should malloc() do? Return a null pointer or a pointer to 0 bytes?
What is meant by step over in running a process?
What fonts come with windows?
DB is in windows, application server can be configured in Windows or Unix or Anyone?
Is array primitive data type in java?