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
How long does scanning and repairing a drive take?
what are risks and contigencies(solutions) of an ecommerce (online shopping and bidding project)application?we describe this in Test plan can anyone tell me abt this?
what are the key components of hbase?
Explain Googlebot
'A' is running a manufacturing set up. 'B' sends raw material (after paying CST) to 'A' for manufacutre of his specified product and 'A' keeps 'B's stock in his godown. Can 'A' buy this material from 'B' by raising a CREDIT MEMO and in the books regularises by passing Journal Entry Dr.Raw material inventory and Cr. 'B's Account.
What tq means in chat?
Can turbo c++ run c program?
What are recursive and non recursive systems? give examples?
How many reports can be added to the salesforce dashboard?
What are traits in laravel?
What is the function of a domain?
How do components communicate with each other?
What are two of your strengths that you will bring to our QA/testing team?
Say you want to store the information about a number of pets in an array. Typical information that you could store for each pet (where relevant) would be • Breed of animal • Animal's name • Its birth date • Its sex • Whether it has been sterilised or not • When it is due for its next inoculation • When it last had its wings clipped For each type of pet (eg. dog, cat or bird) you would typically define a class to hold the relevant data. Note: You do not need to implement these classes. Just answer the following questions. 3.1.1 What would be the advantage of creating a superclass (eg. Pet) and declaring an array of Pet objects over simply using an array of Objects, storing each of the instances of the different pet classes (eg. Dog, Cat or Bird) in it? 3.1.2 Would you define Pet as a class or as an interface? Why? (2) (2)
What is clr? Difference between clr & cts?