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
Can you explain the various elements of function points ftr, ilf, eif, ei, eo, eq, and gsc?
What are the queries mostly asked in testing ? give me some examples.
I have to give weights to 5 stones so that using a simple balance and the stone i should be able to weight any number between 1-100
What is difference between Build, Version and Release
What is Batch testing? Facets Benefit Configuration
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
what is the main field of bugzilla which we fill to report bug to any developers???give some brief description??
In interview How do explain in Testcase of Calcuator,Cellphones, Email testing?
How will you do beta testing?
Scenario-based testing Option 1 concentrates on actor and software interaction Option 2 misses errors in specifications Option 3 misses errors in subsystem interactions Option 4 Both 1 abd 2
Is Anyone attended the manual testing interview with capgemini in recent past. please let me know the type of questions they can ask. Thanks
ive been looking for a junior tester job for quite some time now, but most company keep requisting for experienced staffs, but if i dont start from somewhere how do i get the experience
Explain the procedure & path of s/w in testing?
Have you ever completely tested any part of a product? How?
What is regression testing? When to apply it?