How to swap values between two variables without using a
third variable?
Answer Posted / adil
string a = "adil ahmad", b = "anuj gupta";
a = a + b;
b = a.Substring(0, a.Length - b.Length);
a = a.Substring(b.Length, a.Length - b.Length)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is buffer size and file block size is similar? If similar,at which case it will be same size?
How to set on/off a group of indicators in a single statement?
What is BASIS
Is anyone has done the ASP.NET MVC4 workshop course(2 days) from Peers Technologies. Let me know. I need to talk before joining ASP.NET MVC4 training at peers, Hyderabad.
in cobol,wat is the difference in using 'set index in occurs clause' ....and 'occurs depending-on clause'
What is diffrent between Method and and function in c#
You are given a dictionary of all valid words. You have the following 3 operations permitted on a word: delete a character, insert a character, replace a character. Now given two words - word1 and word2 - find the minimum number of steps required to convert word1 to word2. (one operation counts as 1 step.)
what is the diffrence between software and hardware language?
In OB52 , How to define two open posting period, Like only 5 and 8 posting should be open.. should not open 6 and 7..period..
Wrtite a JCL for sorting a file with start from 36 postion lenth 9 excluding a num eq to 98768. for 3 marks mainframe
how does database connection using ADO.NET?
How do i find out the number of parameters passed into function?
How does the TCP handle the issue of multiplexing?
what is the difference between an OS(operating system) and Framework?
Describe the difference between Interface-oriented, Object-oriented and Aspect-oriented programming