ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Testing >> Manual Testing
 
 


 

 
 Automation Testing interview questions  Automation Testing Interview Questions (5200)
 Manual Testing interview questions  Manual Testing Interview Questions (6477)
 QA Concepts interview questions  QA Concepts Interview Questions (655)
 Mobile Testing interview questions  Mobile Testing Interview Questions (113)
 Test Cases interview questions  Test Cases Interview Questions (469)
 Test Documents Reporting interview questions  Test Documents Reporting Interview Questions (58)
 Testing AllOther interview questions  Testing AllOther Interview Questions (609)
Question
Swap 2 variables without using a temp variable
 Question Submitted By :: Manual-Testing
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
a,b
a=a+b
b=a-b
a=a-b
 
Is This Answer Correct ?    20 Yes 0 No
Guest
 
Answer
# 2
int x,y;
x=x+y;
y=x-y;
x=x-y;
 
Is This Answer Correct ?    12 Yes 1 No
Mfsi_satyakamm
 
 
 
Answer
# 3
if a=5 and b=3 are two variables, then add them i e
a=a+b; a=8
b=a-b; b=5
a=a-b; a=3
 
Is This Answer Correct ?    11 Yes 0 No
Sheetal
 
Answer
# 4
try this one line swaping of two variables


a=((a+b)-(b=a));
 
Is This Answer Correct ?    3 Yes 5 No
S N
 

 
 
 
Other Manual Testing Interview Questions
 
  Question Asked @ Answers
 
Suppose if you have given Login screen to Test. What type of tests r u going to do on that.How many test cases can u write.? Infeneon-Technologies 10
What should be done after writing test cases? iSoft 6
1.what is software testing?   2
1. what is a difference between test plan and test strategy?2.What is the test plan is different from the test strategy? then how?   2
What if requirement document is unclear? PCS 4
in peer reviews,is there any checklist based on which we can review our team members documents.   1
What is the difference found during the Web Page testing & Desktop testing?   2
What is Bugzilla? Can I used it manually, If yes then how can i used it? Can I used it in .NET Environment?   4
Difference between HTTP and HTTPS Cap-Gemini 2
What is endurance testing? MBT 16
What is difference between localization testing and internalization testing.Explain with an example   5
What is the diff betwn Functional nad regression testing and do u excute same test case or write new one for regression Patni 9
 
For more Manual Testing Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com