How can u swap 2 variables in C without using 3rd variable?
Answer Posted / rahul
#include<stdio.h>
#include<conio.h>
void main()
{
int a=20,b=30,c;
clrscr();
a=a+b;
b=b+a;
c=a+b;
c=b-a;
printf("swapping two variables using 3rd variable");
scanf("%d%d%d,a,b,c);
getch();
}
| Is This Answer Correct ? | 2 Yes | 8 No |
Post New Answer View All Answers
iwant know IEEE formate ,how it is used and exactly where it is used? i have details it follows test plan, testcases...etc. i want real time explanation. pls any one give?
what are the templates for daily,weekly and monthly reports? plz reply ASAP.
Write the 10 high test cases for making video call/face time?? Write the test cases for credit card accessing the money transfer?? Write the test cases for file transfer from one user to other from Google Drive/drop box?
What is Test methodology, Testing type , Testing approach, Testing technique & Testing methods. Explain with example.
How to explain the Insurance project in the interview?
What is positive and negative testing?
How to do integration testing on duster......
In interview How do explain in Testcase of Calcuator,Cellphones, Email testing?
Can you explain v model in manual testing?
can anybody tell me what is release process of company? release note?
what r the 5 major defects that u found in ur shopping related project?
what is independent question and what is retriewing and what is problem of severity.
i have 2.5 years of experience in manual testing and qtp. can anyone say me what kind of questions do they ask on manual testing and qtp.
whar are the contents in db testing test case template
What do you like about computers?