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
Suppose we are doing 4 operations on database using service, first operation is successful but due to some reason remaining 3 operations are failed. I) is this transaction successful or not? ii) How can you give that error message to user?
Write a program to find whether a given number is prime or not.
Which method protects back button to retrieve old value from previous page in Struts.
sample and simple coding where we get?
what is the last ant version you worked?how to get it
SAS question: I have 50 fils a1,a2,...,a50. the primary key is upc. then if i want to merge all 50 files, the code is as follows, data test; merge a1 ... a50; by upc; run; we know that writing all 50 files name is time consuming, is there any standard format of this code?
in a VB application, where the data will be stored after manipulation? what is the syntax for that?
How to change the color of a cell or a row in a datagrid on mouse hover using javascript/.net
can we allocate memory for interface? if no then why?
iam confused among testing ,.net and java. can anybody help me.
It is possible to take number of controls added to form at run-time.ex-when user enter 6, 6 text boxes get added to form,next time number of controls get change as per user number enter. What is code for that?
Explain the difference between an expert and a novice user. How would your strategy for designing user interfaces for an expert user differ from that for designing user interfaces for a novice user.
Write a program to find duplicate number from array in minimum time complexity.
what is class module in vb6? what it's use? with example..
5. How do you round the addition or subtraction of two numbers in assembler?