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 21015How do you declare a host variable (in COBOL) for an attribute named emp-name of type VARCHAR(25) ?
2 12029What are the different methods of accessing db2 from tso? How is the connection established between TSO & DB2?
3 14199what's the equivalent Cobol Data type for Decimal(x,y) in DB2? what does the current SQLID register contain?
3 18207Post New Tech Mahindra Interview Questions
Which is not a font style?
can you tell me how to write test cases for payments, receipts, inward clearing, outward clearing, A/c statements ?
Why and where do we use htaccess?
Is it possible to call an external service from internet in xs application? If yes, then how? : hana xsjs
In order to select, what should be the minimum monthly search volume of a keyword?
"Trial Balance is not a comclusive proof of the accuracy of the books of accounts." Explain this statement and describe the errors which are not disclosed inspite of the agreement of trial balance.
Can we use oracle pl/sql block in core java? if so how? pls get back to me .....
What sap program is used to update or create material master records?
How is it possible to do a cross-sysplex copy of a PDS dataset by running one JCL on the target sysplex? I tried to use IEBCOPY with SUBSYS & CSM as follows: //CSMTRAN1 EXEC PGM=IEBCOPY //SYSPRINT DD SYSOUT=* //SYSUT1 DD DSN=PDS-Dataset-name-from,DISP=SHR, // SUBSYS=(CSM,'SYSPLEXNAME-FROM') //SYSUT2 DD DSN=PDS-Dataset-name-to,DISP=OLD, // SUBSYS=(CSM,SYSPLEXNAME-TO') //SYSIN DD DUMMY This did not work. I always get the following error "IEB1071E DD NAME SYSUT1 IS SUPPOSED TO BE A PARTITIONED DATA SET BUT IT HAS NO DIRECTORY. EXPECT A TERMINAL I/O ERROR. (DS1LSTAR=X'000000' DS1DSORG=X'0000' JFCDSORG=X'0200') " The source dataset is a catalogued pds dataset with many entries. The target dataset is allocated in the same job some lines before the transfer. I got an example like this for PS datasets with IEBGENER. But for PO datasets there should be a similar possibility...
How to stop IIS when you are writing web applications as ISAPI dll's?
Why c is procedure oriented?
How would you design a database for an online site, which would average a million hits a day?
How scala is different from java?
Which is useful for method overloading?
What are the different xslt elements?