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 |
What is difference between oop and pop?
what is pointers
what is namespace? what are the uses of namespace?
What is the important feature of inheritance?
Can we have a private virtual method ?
What is abstraction example?
What is property in oops?
write a c++ code of diagonal matrix.
What is the full form of oops?
Can static class have constructor?
diff between Abstract class Interfaces?
What is data binding?