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 |
How to test an application if it was already developed and it is in the state of changing the functionality according to the customer requirement How to start testing in this situation. I got an application to test.It is a desktop application.It is still developing and started 8 months back.how can i start to test this application? Is it the right way to test it in "Random testing"? or writing the testcases from page one and executing them.i have an another responsibility that is I have to automate that application. can anyone tell me what is the process to test this application.
Explain scrum process
What Defect Density?
can u plz give an example for regression testing with example.
What is Standalone testing?
What did you include in a test plan?
what is diff between stress & load testing
What will be the QA roles and responsibilities in Health care stream like BCBS,can someone please explain me any example project regarding health care services in web-based application?
How do you scope,organise and execute a test project.
Login page contains, Username , Password ,OK Button and CANCEL Button.If i click on OK button,cancel functionality is working and if i click on CANCEL Button,OK Functionality is working.In this case what is the level of priority (HIGH/MEDIUM/LOW) and level of SEVERIOTY (HIGH/MEDIUM/LOW)? Give the reason ,explain clearly?
in compatability and installation testings ,which one is conducted or performed on an application initially
What is the Input of Testcase?