WRITE A SIMPLE C++ PROGRAM TO SWAP TWO NOS WITHOUT USING TEMP
Answers were Sorted based on User's Feedback
Answer / vinodhini r
main()
{
int a,b;
scanf("%d %d",&a,&b);
a=a+b;
b=a-b;
a=a-b;
printf("%d %d",a,b);
}
Is This Answer Correct ? | 26 Yes | 2 No |
Please tell me the oops concept with detailed answer
What is polymorphism and types?
Prepare me a program for the animation of train
What are the OOPS concepts?
106 Answers A1 Technology, Bajaj, CTS, EDS, HP, Infosys, Intel, Microsoft, MNC, Persistent, PlanetSoft, ProConstructor, TCS, Virtusa, Wipro, YSoft Solutions,
What is overloading and its types?
What is Hashing and how is it done? Pictorial form?
write a short note on Overloading of Binary Operator?
Write a program to sort the number with different sorts in one program ??
Write a program to accept a number and to print numbers in pyramid format? for eg:for a no. 5 1 212 32123 4321234 543212345
Can private class be inherited?
Why we are use # in begning of programme of c++.
Can we create object of interface?