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
which sanity testing is performed?
What is an end-to-end testing?
Explain some techniques for developing software components with respect to testability.
What will be your approach if a particular script in Load Test fails?
What is deferred status in defect life cycle?
What is PBX Testing & What is Test coverage?
What are the bussiness scenories?
functional testing test cases for transfer funds ?
What is the difference between functional testing and integration testing?
Negative test cases for phone camera
What type bugs you will find in integration testing with example?
Could someone please send me real check list for Database Security testing.Please my mail ID- patil.ramchandra@yahoo.co.in. Thanks.
whats main working for tester. and developer, and prject manager.
Plz give me manual testing real test case ?
test cases for Insurance Processing System ?