How can u swap 2 variables in C without using 3rd variable?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / deepa
main()
{
int a=20,b=30;
clrscr();
b=a+b;
a=b-a;
b=b-a;
printf("%d%d",a,b);
getch();
}
| Is This Answer Correct ? | 5 Yes | 4 No |
Answer / 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 |
What is state transition?
Contents in Tracebility matrix?
14 Answers JVS, NIIT, TCS,
You need to plan a test project to qualify an application composed of many individual components. Referring to the scenario above, which phases do you expect to take longer than usual?
Hi can any body clarify me plz What are responsibilities of a test engineer in the company,and how he communicates wiht t.l as well as test manager, In wich situation this type of i mean serious commnication takes place(give me one example).and how the interaction will takes place between tester and client can anybody plz clatify me
Tell me please whether Unit Testing comes under "Black box testing" OR "White Box testing" ?
Is there any group of software tester in India so as everybody can join them?
How to write Test Cases? What r the items in the Test Case? How to say whether the Test Case covers all functionalities in Application?
What is the difference between bug,error,defect.
What do you mean by testing matrices?
Big Bang Model isn't preferable for higher cost project? a. True b. False (Need the answer urgently) Thanks!
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 documents that will be created in testing cycle?