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 21547How do you declare a host variable (in COBOL) for an attribute named emp-name of type VARCHAR(25) ?
2 12241What are the different methods of accessing db2 from tso? How is the connection established between TSO & DB2?
3 14479what's the equivalent Cobol Data type for Decimal(x,y) in DB2? what does the current SQLID register contain?
3 18486Post New Tech Mahindra Interview Questions
Can we display a list in a pop-up screen other than full-size stacked list?
How do you declare a variable as volatile in Kotlin ?
What is autoproxying?
What are the types of control valves available
What happens if you get a ‘connection refused java exception’ when you type hadoop fsck /?
Hello All, Requesting to all user of this site. Please post your Questions in Proper sub Category of chosen category. Some users post the questions in common category whether sub category for that is available ..like some users still post the SAP Script & ALE Related questions in common ABAP Category. Due to this it becomes very difficult to find the topic wise Questions. Please cooperate with the site & to other users. Thanks & Regards Tamseel
What is the difference between malloc() and calloc()?
What is the significance of null value and why should we avoid permitting null values?
How to solve the problem of generating the unique hash keys with hash function?
What is scrum?
How to reverse a string in java?
If i want to establish a company in which i want to manifacture and sell the Wine. So how many permissions i have to taken and who will issue those?
How do I find the current module name?
What is fsck?
I am using solaris box, I need to delete a file from path /usr/tmp/ which r older than 24 hours?