How to swap two String values without using a
third variable?
Answer Posted / parthag
In C#, C sharp
string str1 = "First";
string str2 = "Second";
str1 = string.Concat(str1, str2);
str2 = str1.Replace(str2,"");
str1 = str1.Replace(str2,"");
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
i am getting the error while compiling my cics program with including db2 dclgen member it is showing that ur dclgen member not including and all the host variables are undeclared
what is difference between object oriented programming structure and object oriented programming system?
hii I inntrested abt scjp certification but i dont knw abt scjp plz send details abt scjp exam and syllabus.
Iam using Microsoft Visual Studio to create a system for mobile store I want to know how to calculate mobile price that the customer buy and how to reduce quantity from the data base that we have for mobile .And also how to calculate revnue for each mobile and revnue for the total mobile
how to work search engine? plz detail answer me.
What is the difference between WebIntelligence and Designer in creating universes?
What ports must be open for DCOM over a firewall? What is the purpose of Port 135?
pleasew define carrier scope in abap (sap).
I m Abdullah Ansari compleated MCA from Jamia Hamdard,i have appeared the test of IBM on 2 august at oxford college of engineering Bangalore.waiting for hr round.. This is the first round for IBM.02/08/08 Paper consists of 4 sections 15 questions from matrices(time very less but no negative marking). 25 questions from series completion section (this section is very easy but negative marking) 15 questions from aptitude(little bit tough time limit 15 minute negative marking) 4th section is from computer science (c,c++,operating system,digital electronics ,basic question..) result came at 3 o'clock.i was selected... In interview they asked questions like 1 they asked about final yr project.. 2 what are dynamic and static memory location? 3 linked list and array difference between them. 4 what is function ? what is difference betwen function and inline function? 5 about structure 6 about binary tree, traversal, call by value. 7 storage class and many more basic questions..
iam confused to choose among testing, .net and java can anybody help me????????
Explain with examples any 2 features of OOPS.
Write code to read the records from a file and load any array of size 99?make sure that you take care of all the error conditions?
Write a shell program to test whether a given year is leap year or not ?
how we can know the funcions available in a class recording java?
Have you used callsymputx? what points need to be kept in mind when using it?