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
i want to insert textbox value to sql db. i have only one text box but store four values. ple give any one give sample code in asp.net c#..
what is woransient key word? how it is used in java
Outline the two important features of a terminating recursion. Any ideas?
Need guidewire related Documents(Interview Question/Tips/Best Practice/Dumps)
hi viewers, tell me,what is scripting and programming, define and difference...pls
why we need to take u?
what is the certificates in biztalk?
What is diffrent between Method and and function in c#
what is the similarity between networking devices?
i want to improve my english vocab for racking campus written exam plz tell me best book for prepration......
sample code for data transfer between two r/2 systems and r/3 systems?
when a query is made on Logical file in DB2/400, will the records satisfying select/omit criterion be fetched from all members of physical file or only the member with same name as physical file?
what is session state?
iam confused to choose among testing, .net and java can anybody help me????????
In mainframe SDSF, Can we copy the list of jobs currently executing in SDSF in to a seperate DATASET...?