swapping program does not use third variable

Answer Posted / jayabalan.s

void main()
{
int a,b;//example a=10,b=12;
a=a+b;//a=22
b=a-b;//b=10;
a=a-b;//a=12
}

Is This Answer Correct ?    17 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why it is called runtime polymorphism?

583


Give two or more real cenario of virtual function and vertual object

1863


What are the features of oop?

645


write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory

2774


What are two types of polymorphism?

622






What is an interface in oop?

604


What is polymorphism in oop example?

525


2. Give the different notations for the class.\

1596


What is the full form of oops?

624


i am getting an of the type can not convert int to int *. to overcome this problem what we should do?

1847


Why is object oriented programming so hard?

620


Which is better struts or spring?

629


What is abstraction oop?

631


What are properties in oop?

617


Why is oop useful?

610