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 |
can we make game by using c
What is difference between abstraction and encapsulation?
explain the concepts of oops?
What type of loop is a for loop?
WHAT IS THE DIFFERENCE BETWEEN ABSTRUCTION AND ENCAPSULATION? PLEASE EXPLAIN IT.
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.
#include <iostream> using namespace std; int main() { int a = 2; int c[5][5]; for (int x=0;x<5;x++) { for (int y=0;y<5;y++) { c[x][y] = x*y; } } cout << c[a][c[1][4]]; }
different types of castings
A file pointer always contains the __________ of the file
What is polymorphism and its types?
What is new keyword in oops?
What is difference between inheritance and polymorphism?