How to swap values between two variables without using a
third variable?

Answer Posted / banti sharma

main()
{
int a,b;

a=a+b;
b=a-b;
a=a-b;
}
in Answer of pinky she has taken a variale ia which is not
used in program. He He He

Is This Answer Correct ?    88 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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?

1582


what is difference between object oriented programming structure and object oriented programming system?

1448


Explain polymorphism. Provide an example.

618


8.In DSP,Define Signal and System?and various type of signals.

1560


What is easiest way to get the PL/i compiler,I didn't have found the compiler in my library. Is there any extra cost if we want to access the PL/1 programs?Actually we r having Mainframe rented training Ids

1619






how do i create my own exception class which will restrict IO exception?

2303


what is the extension of SPDS Dynamic cluster tables?

1624


what are the differences between CONS, LIST, and APPEND

4762


What for decision coverage and modified condition decision coverage are used? Wat is the difference between them?

1630


any drawback are there in mantis?

1644


How do i find out the number of parameters passed into function?

2217


How can we develop a multi-tier application in Java?

1472


hi, all this is shoba m.c.a . i have learned abap but no oppurtunities right now as fresher , right now i want to learn any course on demand any one pls suggest me good course and institute in hyderabad

1398


Explain what is OOPS and its concepts?

584


how to data grid use in data bind?

1495