how to swap the variables without using temp and operators
Answer / santhosh
int a, b;
a = 10;
b = 20;
a = a + b;
//a=30
b = a - b;
a = a - b;
Console.WriteLine("a={0},b={1}", a, b);
Console.ReadLine();
Is This Answer Correct ? | 10 Yes | 2 No |
features of OOPS
22 Answers Ness Technologies, Satyam,
What are the valid types of data that the main () can return in C/C++ language
How do you make derived class as an abstract class?
tel me oops defination in single line
Templates mean
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
How can we use the preprocessor #if and #elseif.
How is data security provided in Object Oriented languages? ?
what is opps?why it is use in programming language?
How compiler selects(internally) required overridden function in inheritance?
2 Answers CSC, Infinite Computer Solutions,
What is overriding in oop?
why we call c++ is object oriented lanaguage