how to swap all the values without using temporary variable.
tha values r a = 20, x=60 and p=2.
Answer Posted / learning
x=x-a;
a=x+a;
x=a-x;
x=x-p;
p=x+p;
x=p-x;
| Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
What is the Difference between in memory database and physical database
For a binary tree with n nodes, How many nodes are there which has got both a parent and a child?
what is log files in qtp what is use
How to call dll API sub routine in VB Form.
What is diffrent between Method and and function in c#
3 members in a pf.how we read 3 members without using ovrdbf.using rg pgms....
What r the attributes using in Win Runner?
where is available in this mantis toturials?
What is %Type,%Rowtype?
hi This is radhika.Can anyone help me to know the question papers of NATIONAL INFORMATICS CENTRE for the post of scientific officer/engineer? if anyone know plz tell me question paper pattern
what is woransient key word? how it is used in java
You are given some denominations of coins in an array (int denom[])and infinite supply of all of them. Given an amount (int amount), find the minimum number of coins required to get the exact amount. What is the method called?
Write a pascal program to calculate the sum of the first 100 even number and odd number
how can we maintain the previous version scripts to new version.
What for decision coverage and modified condition decision coverage are used? Wat is the difference between them?