adspace


How can u swap 2 variables in C without using 3rd variable?

Answer Posted / sj

main()
{
int a=20,b=30;
clrscr();
a=a+b;
b=a-b;
a=a-b;
printf("%d%d",a,b);
getch();
}

Is This Answer Correct ?    38 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

which test strategy your are fallowing in your company?which documents u r using in software development life cycle?

2458


could u pls anyone tel me .."which is the best instute that provides eficient practical knowledge and also real-time oriented knowldge to do a project in manual and automation testing..in hyd" pls send me to dis mail-id if u find any..? sinducute17@gmail.com

2267


how to connect your project in database?

2165


What is the main use of preparing a traceability matrix?

1275


tell me 3 defects in FRS document, while doing FRS review which u have found in the last 3 years ? could u plz answer brahma412@yahoo.co.in

2573


Which model is following in your company for developing software?

1257


What is the big deal about ‘requirements’?

1414


Where we have to use perl scripting in Testing approach and its importance

2256


What is the difference between load and stress testing?

1457


Hello can anybody list out supported and unsupported browsers for Window OS,Android OS,MAC OS Ubuntu

1718


Can any one share the domain knwoldege of Telecom Jeeva jeevachr@gmail.com

2586


hi what are the test cases for web application..i need these example..please..mail me at mina_ims@yahoo.com

2101


Can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks

2038


About Hierarchy level in your company.

2147


KINDLY FORWARD ME THE INTERVIEW QUESTIONS & ANSWERS FROM REAL TIME POINT OF VIEW FOR 1.5 YEARS EXPERIENCED CANDIDATE. MY EMAIL ID IS sky_bird433@yahoo.com

2876