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 17246How do you declare a host variable (in COBOL) for an attribute named emp-name of type VARCHAR(25) ?
2 10391What are the different methods of accessing db2 from tso? How is the connection established between TSO & DB2?
3 12322what's the equivalent Cobol Data type for Decimal(x,y) in DB2? what does the current SQLID register contain?
3 16531Post New Tech Mahindra Interview Questions
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
How to replace following lines, catch (DAOException e) { objLogger.error(this.getClass () + "addUpdateIssues() " + e); throw new BOException(5122); } catch (BOException e) { objLogger.error(this.getClass () + "addUpdateIssues() " + e); throw e; } catch (Exception e) { objLogger.error(this.getClass () + "addUpdateIssues() " + e); throw new BOException(5122); } Needs to be changed in to, catch (DAOException e) { AppException.handleException (null, null, e, null, null, null, "BOException", this.getClass() + "addUpdateIssues() ", null, null, null, null, null, null, null, null, 5122); } catch (BOException e) { AppException.handleException (null, null, null, e, null, null, "BOException", this.getClass() + "addUpdateIssues() ", null, null, null, null, null, null, null, null, 0); } catch (Exception e) { AppException.handleException (null, null, null, null, null, e, "BOException", this.getClass() + "addUpdateIssues() ", null, null, null, null, null, null, null, null, 5122); }
How will you determine when to stop testing?
hi friends kumar here if anybody of u have essar placement papers than plz send it to me i need it urgently..ok mail id is kskalyani@gmail.com
Is shell scripting useful?
How to Use the jQuery load() Method?
Why do we use the required attribute in html?
What if I write static public void instead of public static void in java?
What are the five possible values for “position”?
Does router have ip address?
How do you autofill numbers in word 2010?
How do you stop igfxem exe?
How to handle exceptions in JavaScript?
Does constructor return any value?
What are the regular expression patterns available in selenium?