swap two number wthout using third variable

Answer Posted / abhay khare

void main()
{
int a,b,c
printf("two no are\n");
scanf("%d&n");
a=c;
b=a
c=b
getch;
}

Is This Answer Correct ?    1 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create a new dataset only duplicate observations in proc sort procedure?

1616


Q2. A memory location has physical address D5687h. Compute: a. The offset address if the segment number is D445h. b. The segment number if the offset address is B577h.

1633


smal talk is pure object oriented or not?

1529


Hi guyes, I have cleared 2 technical rounds with cts for liferay and java techonologies, i have client round next week, please tell me how to prepare for this what questions i should be ready to face?

3367


Tag for turning an image into a hyperlink is

1842






hi i am jyoti i have done sap training in sd and master degree in economics have 2 year exp as enduser in (gdms)and 1 year as sd consultant.as contract basis now what i can do for getting job in it industry

1658


What's the difference b/w Table & Templete in Smartform?

1643


5. How do you round the addition or subtraction of two numbers in assembler?

1778


Difference between delegates and Events?

1714


how to add Servlet-api.jar file into eclipse 3.3.2 ?

4059


What do you understand by modular programming?

670


in teradata level primary in table level allows duplicates why?

1646


Find out the list of roles which gives access to GUI activities? thanks in advance

1728


why we use mantis? what u mean mantis in IT trends? addvantages of mantis?

1742


1. Consider the following code in our example assembly language: ; an example bit of assembly code ROOT: W FATHER FATHER: W SON1 W SON2 SON1: W NIL W NIL ; ---------------------- SON2: W GRANDSON W NIL GRANDSON: W NIL W NIL NIL = 0 Assemble this code carefully following the two pass model, and show the symbol table at the point marked by the dashed line during each pass.

1822